mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 13:36:25 +00:00
IFC4X3 codegen #2805
This commit is contained in:
@@ -175,7 +175,7 @@ void ifcopenshell::geometry::OpenCascadeShape::Triangulate(ifcopenshell::geometr
|
|||||||
|
|
||||||
taxonomy_transform(place.components_, p);
|
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;
|
std::vector<std::pair<int, int>> segments;
|
||||||
if (i > 1) {
|
if (i > 1) {
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ class aggregate_of {
|
|||||||
typename U::list::ptr result(new typename U::list);
|
typename U::list::ptr result(new typename U::list);
|
||||||
for (it i = begin(); i != end(); ++i) {
|
for (it i = begin(); i != end(); ++i) {
|
||||||
if ((*i)->as<U>()) {
|
if ((*i)->as<U>()) {
|
||||||
result->push(r->push((*i)->as<U>());
|
result->push((*i)->as<U>());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
@@ -154,7 +154,7 @@ class IFC_PARSE_API aggregate_of_aggregate_of_instance {
|
|||||||
typename std::vector<U*> to;
|
typename std::vector<U*> to;
|
||||||
for (inner_it inner = from.begin(); inner != from.end(); ++inner) {
|
for (inner_it inner = from.begin(); inner != from.end(); ++inner) {
|
||||||
if ((*inner)->as<U>()) {
|
if ((*inner)->as<U>()) {
|
||||||
to.push_back((*i)->as<U>());
|
to.push_back((*inner)->as<U>());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
result->push(to);
|
result->push(to);
|
||||||
|
|||||||
Reference in New Issue
Block a user