From: gdd Date: Fri, 10 Aug 2012 10:04:46 +0000 (+0000) Subject: OCC 6.5.2: scl.Perform() is not bugged anymore X-Git-Tag: V6_6_0a1~25 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d45621e9f91f7228c924c385ec138c14603efdd5;p=plugins%2Fblsurfplugin.git OCC 6.5.2: scl.Perform() is not bugged anymore --- 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: "<