rename addEdge overload to registerEdgeCount

So it won't be confused with addEdge that actually does add an edge to edges_.
This commit is contained in:
Andrej730
2024-09-25 15:12:56 +05:00
parent 6ac40b4ab3
commit aad66f94a3
3 changed files with 5 additions and 5 deletions
@@ -293,9 +293,9 @@ void ifcopenshell::geometry::OpenCascadeShape::Triangulate(ifcopenshell::geometr
} else {
t->addFace(item_id, surface_style_id, dict[n1], dict[n2], dict[n3]);
t->addEdge(dict[n1], dict[n2], edgecount);
t->addEdge(dict[n2], dict[n3], edgecount);
t->addEdge(dict[n3], dict[n1], edgecount);
t->registerEdgeCount(dict[n1], dict[n2], edgecount);
t->registerEdgeCount(dict[n2], dict[n3], edgecount);
t->registerEdgeCount(dict[n3], dict[n1], edgecount);
}
}
}