From d3f130798466ce41e44c52af3e7b118577f069df Mon Sep 17 00:00:00 2001 From: gdd Date: Tue, 11 May 2010 14:57:24 +0000 Subject: [PATCH] Fix verification of vertex position on face (enforced vertices) --- src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2