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

fix compile

parent 383acfc6
No related branches found
No related tags found
No related merge requests found
......@@ -248,7 +248,11 @@ static void PutInBounds (const TopoDS_Face& F,
Standard_Integer i, nbExt = anExtPS.NbExt();
Extrema_POnSurf aPOnSurf;
for (i = 1; i <= nbExt; ++i )
#if (OCC_VERSION_MAJOR == 6) && (OCC_VERSION_MINOR < 5)
if (anExtPS.Value( i ) <= TolE) {
#else
if (anExtPS.SquareDistance( i ) <= TolE) {
#endif
aPOnSurf = anExtPS.Point( i );
break;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment