mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 09:32:46 +00:00
Work on LOD use case
This commit is contained in:
@@ -121,7 +121,7 @@ void find_geometric_types(IfcParse::IfcFile& f, const std::string& tfn) {
|
|||||||
std::for_each(connection_geom->begin(), connection_geom->end(), vist_geometric);
|
std::for_each(connection_geom->begin(), connection_geom->end(), vist_geometric);
|
||||||
|
|
||||||
std::function<void(IfcUtil::IfcBaseClass*, IfcUtil::IfcBaseClass*)> fn;
|
std::function<void(IfcUtil::IfcBaseClass*, IfcUtil::IfcBaseClass*)> fn;
|
||||||
fn = [&f, &geometric_instances, &other_types, &fn, &to_watch](IfcUtil::IfcBaseClass* root, IfcUtil::IfcBaseClass* inst) {
|
fn = [&f, &geometric_instances, &other_types, &fn](IfcUtil::IfcBaseClass* root, IfcUtil::IfcBaseClass* inst) {
|
||||||
if (geometric_instances.find(inst) == geometric_instances.end()) {
|
if (geometric_instances.find(inst) == geometric_instances.end()) {
|
||||||
auto ty = inst->declaration().type();
|
auto ty = inst->declaration().type();
|
||||||
other_types.insert(ty);
|
other_types.insert(ty);
|
||||||
|
|||||||
Reference in New Issue
Block a user