Small changes to curve segment handling for purpose of wrapper

This commit is contained in:
Thomas Krijnen
2023-10-14 16:37:50 +02:00
parent 909978c941
commit 661c8bc50f
9 changed files with 43 additions and 13 deletions
+6
View File
@@ -75,3 +75,9 @@ bool ifcopenshell::geometry::kernels::AbstractKernel::convert_impl(const taxonom
}
return r.size() > s;
}
bool ifcopenshell::geometry::kernels::AbstractKernel::convert_impl(const taxonomy::piecewise_function::ptr item, IfcGeom::ConversionResults& cs) {
auto expl = item->evaluate();
expl->instance = item->instance;
return convert(expl, cs);
}