Skip to content

Commit 1aa3e70

Browse files
tpaviotaothms
authored andcommitted
[g++-warning-fix] Removed unused function
1 parent e4662cf commit 1aa3e70

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

src/ifcgeom/IfcGeomWires.cpp

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,7 @@
100100
#define Kernel MAKE_TYPE_NAME(Kernel)
101101

102102
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-
103+
// Returns the first edge of a wire
110104
TopoDS_Edge first_edge(const TopoDS_Wire& w) {
111105
TopoDS_Vertex v1, v2;
112106
TopExp::Vertices(w, v1, v2);

0 commit comments

Comments
 (0)