halfspaces in cgal kernel

This commit is contained in:
Thomas Krijnen
2020-09-19 15:40:18 +02:00
parent 104896b3e2
commit 1cfb15f060
3 changed files with 100 additions and 11 deletions
+2 -1
View File
@@ -1820,7 +1820,8 @@ taxonomy::item* mapping::map_impl(const IfcSchema::IfcBooleanResult* inst) {
taxonomy::item* mapping::map_impl(const IfcSchema::IfcPolygonalBoundedHalfSpace* inst) {
auto f = map_impl((IfcSchema::IfcHalfSpaceSolid*) inst);
((taxonomy::face*)f)->children = ((taxonomy::loop)as<taxonomy::loop>(map(inst->PolygonalBoundary()))).children;
((taxonomy::face*)f)->children = { map(inst->PolygonalBoundary()) };
((taxonomy::face*)f)->matrix = as<taxonomy::matrix4>(map(inst->Position()));
return f;
}