]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
Fix verification of vertex position on face (enforced vertices)
authorgdd <gdd>
Tue, 11 May 2010 14:57:24 +0000 (14:57 +0000)
committergdd <gdd>
Tue, 11 May 2010 14:57:24 +0000 (14:57 +0000)
src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx

index 1a8d7452464abd2e2b0268bace2600bbd0fb0017..7870d316c849275624c91f7797e25d5de4040e0a 100644 (file)
@@ -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);