BRepTools::UVBounds(aFace, U1, U2, V1, V2);
// projector
- Standard_Real tol = Max(theTol, 1.e-4);
GeomAPI_ProjectPointOnSurf proj;
- proj.Init(surface, U1, U2, V1, V2, tol);
+ proj.Init(surface, U1, U2, V1, V2);
proj.Perform(thePoint);
if (!proj.IsDone())
StdFail_NotDone::Raise("Projection aborted : the algorithm failed");
gp_Pnt2d aProjPnt (theU, theV);
// classifier
+ Standard_Real tol = Max(theTol, 1.e-4);
BRepClass_FaceClassifier aClsf (aFace, aProjPnt, tol);
if (aClsf.State() != TopAbs_IN && aClsf.State() != TopAbs_ON) {
bool isSol = false;