removed references to OCC<7
This commit is contained in:
@@ -860,11 +860,7 @@ struct WireJoiner {
|
||||
int rcount = 0;
|
||||
|
||||
for (auto& info : edges) {
|
||||
#if OCC_VERSION_HEX >= 0x070000
|
||||
if (BRep_Tool::IsClosed(info.edge))
|
||||
#else
|
||||
if (info.p1.SquareDistance(info.p2) < tol)
|
||||
#endif
|
||||
{
|
||||
auto wire = BRepBuilderAPI_MakeWire(info.edge).Wire();
|
||||
Area::showShape(wire, "closed");
|
||||
|
||||
Reference in New Issue
Block a user