We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4662cf commit 1aa3e70Copy full SHA for 1aa3e70
1 file changed
src/ifcgeom/IfcGeomWires.cpp
@@ -100,13 +100,7 @@
100
#define Kernel MAKE_TYPE_NAME(Kernel)
101
102
namespace {
103
- // Returns the other vertex of an edge
104
- TopoDS_Vertex other(const TopoDS_Edge& e, const TopoDS_Vertex& v) {
105
- TopoDS_Vertex a, b;
106
- TopExp::Vertices(e, a, b);
107
- return v.IsSame(b) ? a : b;
108
- }
109
-
+ // Returns the first edge of a wire
110
TopoDS_Edge first_edge(const TopoDS_Wire& w) {
111
TopoDS_Vertex v1, v2;
112
TopExp::Vertices(w, v1, v2);
0 commit comments