Provide collection implementation in abstract_kernel

This commit is contained in:
Thomas Krijnen
2019-08-25 12:00:04 +02:00
parent 8ec2019003
commit 41d7fb32da
2 changed files with 9 additions and 1 deletions
@@ -39,6 +39,14 @@ ifcopenshell::geometry::kernels::AbstractKernel* ifcopenshell::geometry::kernels
}
}
bool ifcopenshell::geometry::kernels::AbstractKernel::convert_impl(const taxonomy::collection* collection, ifcopenshell::geometry::ConversionResults& r) {
auto s = r.size();
for (auto& c : collection->children) {
convert(c, r);
}
return r.size() > s;
}
//void ifcopenshell::geometry::kernels::AbstractKernel::set_conversion_placement_rel_to(const IfcParse::declaration* type) {
// placement_rel_to = type;
//}