]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
fix failure of non-regression test SMESH_TEST/Grids/smesh/imps8/I1
authoreap <eap@opencascade.com>
Thu, 28 Feb 2013 14:45:34 +0000 (14:45 +0000)
committereap <eap@opencascade.com>
Thu, 28 Feb 2013 14:45:34 +0000 (14:45 +0000)
  Restore functioning of "Use Internal Vertices of all faces" option

src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx

index 69a964074ce0aa48887c07560534c0528468bb34..21be167b614251e6a334dccae7aed443a54eb2f3 100644 (file)
@@ -697,7 +697,7 @@ void BLSURFPlugin_BLSURF::SetParameters(
                                         const BLSURFPlugin_Hypothesis* hyp,
                                         cadsurf_session_t *            css,
                                         precad_session_t *             pcs,
-                                        const TopoDS_Shape&            GeomShape,
+                                        const TopoDS_Shape&            theGeomShape,
                                         bool *                  use_precad
                                        )
 {
@@ -705,7 +705,7 @@ void BLSURFPlugin_BLSURF::SetParameters(
   // Clear map so that it is not stored in the algorithm with old enforced vertices in it
   EnfVertexCoords2EnfVertexList.clear();
   
-   double diagonal               = SMESH_Mesh::GetShapeDiagonalSize( GeomShape );
+   double diagonal               = SMESH_Mesh::GetShapeDiagonalSize( theGeomShape );
    double bbSegmentation         = _gen->GetBoundaryBoxSegmentation();
    int    _physicalMesh          = BLSURFPlugin_Hypothesis::GetDefaultPhysicalMesh();
    int    _geometricMesh         = BLSURFPlugin_Hypothesis::GetDefaultGeometricMesh();
@@ -1139,7 +1139,7 @@ void BLSURFPlugin_BLSURF::SetParameters(
       std::string grpName = BLSURFPlugin_Hypothesis::GetInternalEnforcedVertexAllFacesGroup(hyp);
       MESSAGE("Setting Internal Enforced Vertices");
       gp_Pnt aPnt;
-      TopExp_Explorer exp (GeomShape, TopAbs_FACE);
+      TopExp_Explorer exp (theGeomShape, TopAbs_FACE);
       for (; exp.More(); exp.Next()){
         MESSAGE("Iterating shapes. Shape type is " << exp.Current().ShapeType());
         TopExp_Explorer exp_face (exp.Current(), TopAbs_VERTEX, TopAbs_EDGE);