]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
OCC 6.5.2: scl.Perform() is not bugged anymore
authorgdd <gdd>
Fri, 10 Aug 2012 10:04:46 +0000 (10:04 +0000)
committergdd <gdd>
Fri, 10 Aug 2012 10:04:46 +0000 (10:04 +0000)
src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx

index 4743bbaef821c90bed7a808c48ed4aaa9bc345e8..166b9984b48099a4c98bc4026e45e91d1b3c771a 100644 (file)
@@ -1323,8 +1323,9 @@ bool BLSURFPlugin_BLSURF::Compute(SMESH_Mesh& aMesh, const TopoDS_Shape& aShape)
           gp_Pnt P(xyzCoords[0],xyzCoords[1],xyzCoords[2]);
           BRepClass_FaceClassifier scl(f,P,1e-7);
           // scl.Perform() is bugged. The function was rewritten
-//          scl.Perform();
-          BRepClass_FaceClassifierPerform(&scl,f,P,1e-7);
+          // BRepClass_FaceClassifierPerform(&scl,f,P,1e-7);
+          // OCC 6.5.2: scl.Perform() is not bugged anymore
+          scl.Perform(f, P, 1e-7);
           TopAbs_State result = scl.State();
           MESSAGE("Position of point on face: "<<result);
           if ( result == TopAbs_OUT )