removed references to OCC<7

This commit is contained in:
andrea
2022-06-25 10:26:24 +02:00
committed by Uwe
parent e9890c0798
commit 93525ff7eb
46 changed files with 49 additions and 714 deletions

View File

@@ -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");