Support evaluation of faces directly, add identity matrix on unplaced circle profile curves #4832

This commit is contained in:
Thomas Krijnen
2024-06-18 12:31:04 +02:00
parent 17a433a97b
commit 9c22e6ecc8
2 changed files with 5 additions and 21 deletions
@@ -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>();