From d45621e9f91f7228c924c385ec138c14603efdd5 Mon Sep 17 00:00:00 2001 From: gdd Date: Fri, 10 Aug 2012 10:04:46 +0000 Subject: [PATCH] OCC 6.5.2: scl.Perform() is not bugged anymore --- src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx index 4743bba..166b998 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx @@ -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: "<