IFC4X3 codegen #2805

This commit is contained in:
Thomas Krijnen
2023-06-22 14:09:59 +02:00
parent 3266648896
commit 20f279dfa3
2 changed files with 3 additions and 3 deletions
@@ -175,7 +175,7 @@ void ifcopenshell::geometry::OpenCascadeShape::Triangulate(ifcopenshell::geometr
taxonomy_transform(place.components_, p);
int current = t->addVertex(surface_style_id, p.X(), p.Y(), p.Z());
int current = t->addVertex(item_id, surface_style_id, p.X(), p.Y(), p.Z());
std::vector<std::pair<int, int>> segments;
if (i > 1) {
+2 -2
View File
@@ -92,7 +92,7 @@ class aggregate_of {
typename U::list::ptr result(new typename U::list);
for (it i = begin(); i != end(); ++i) {
if ((*i)->as<U>()) {
result->push(r->push((*i)->as<U>());
result->push((*i)->as<U>());
}
}
return result;
@@ -154,7 +154,7 @@ class IFC_PARSE_API aggregate_of_aggregate_of_instance {
typename std::vector<U*> to;
for (inner_it inner = from.begin(); inner != from.end(); ++inner) {
if ((*inner)->as<U>()) {
to.push_back((*i)->as<U>());
to.push_back((*inner)->as<U>());
}
}
result->push(to);