More work on enabling cgal kernel

This commit is contained in:
Thomas Krijnen
2019-01-18 15:19:00 +01:00
parent d804575974
commit 16d6420352
19 changed files with 174 additions and 107 deletions
+1 -1
View File
@@ -501,7 +501,7 @@ void SvgSerializer::setFile(IfcParse::IfcFile* f) {
auto storeys = f->instances_by_type("IfcBuildingStorey");
if (!storeys || storeys->size() == 0) {
IfcGeom::Kernel kernel(f);
IfcGeom::Kernel kernel("opencascade", f);
std::vector<const IfcParse::declaration*> to_derive_from;
to_derive_from.push_back(f->schema()->declaration_by_name("IfcBuilding"));