mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-19 11:43:53 +00:00
Support evaluation of faces directly, add identity matrix on unplaced circle profile curves #4832
This commit is contained in:
@@ -46,6 +46,9 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcCircleProfileDef* inst) {
|
||||
#endif
|
||||
if (has_position) {
|
||||
c->matrix = taxonomy::cast<taxonomy::matrix4>(map(inst->Position()));
|
||||
} else {
|
||||
// matrix needs to be set on elementary curves
|
||||
c->matrix = taxonomy::make<taxonomy::matrix4>();
|
||||
}
|
||||
|
||||
auto e = taxonomy::make<taxonomy::edge>();
|
||||
|
||||
Reference in New Issue
Block a user