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
+1 -1
View File
@@ -407,7 +407,7 @@ int IfcGeom::Representation::Triangulation::addVertex(int item_id, int material_
return i;
}
void IfcGeom::Representation::Triangulation::addEdge(int n1, int n2, std::map<std::pair<int, int>, int>& edgecount) {
void IfcGeom::Representation::Triangulation::registerEdgeCount(int n1, int n2, std::map<std::pair<int, int>, int>& edgecount) {
const Edge e = Edge((std::min)(n1, n2), (std::max)(n1, n2));
edgecount[e] ++;
}