Skip to content
Snippets Groups Projects
Commit 97a96a08 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix

parent 2eaac9c2
No related branches found
No related tags found
No related merge requests found
......@@ -500,11 +500,7 @@ static void EdgesPartition(const TopoDS_Face& F,
TolConf2 = TolConf * TolConf;
if (!intersect)
TolConf2 *= 100;
#if (OCC_VERSION_MAJOR == 6) && (OCC_VERSION_MINOR < 5)
Standard_Real SqDist = P1.Value(P2);
#else
Standard_Real SqDist = P1.SquareDistance(P2);
#endif
if (SqDist <= TolConf2) {
TopoDS_Vertex V = BRepLib_MakeVertex(P1);
V.Orientation(TopAbs_INTERNAL);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment