From: gdd Date: Tue, 11 May 2010 14:57:24 +0000 (+0000) Subject: Fix verification of vertex position on face (enforced vertices) X-Git-Tag: V5_1_4~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d3f130798466ce41e44c52af3e7b118577f069df;p=plugins%2Fblsurfplugin.git Fix verification of vertex position on face (enforced vertices) --- diff --git a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx index 1a8d745..7870d31 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx @@ -1020,7 +1020,7 @@ bool BLSURFPlugin_BLSURF::Compute(SMESH_Mesh& aMesh, const TopoDS_Shape& aShape) // ev = evl[i]; // double xyzCoords[3] = {ev[2], ev[3], ev[4]}; - double xyzCoords[3] = {evlIt->at(0), evlIt->at(3), evlIt->at(4)}; + double xyzCoords[3] = {evlIt->at(2), evlIt->at(3), evlIt->at(4)}; MESSAGE("Check position of vertex =(" << xyzCoords[0] << "," << xyzCoords[1] << "," << xyzCoords[2] << ")"); gp_Pnt P(xyzCoords[0],xyzCoords[1],xyzCoords[2]); BRepClass_FaceClassifier scl(f,P,1e-7);