From: eap Date: Fri, 31 Aug 2012 11:04:42 +0000 (+0000) Subject: 0021818: [CEA 645] Error when using Use Internal Vertices X-Git-Tag: V6_6_0a1~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f6160cda300bd68e795fa2ed4e6d51bba5c7b032;p=plugins%2Fblsurfplugin.git 0021818: [CEA 645] Error when using Use Internal Vertices Fix detection of INTERNAL nodes --- diff --git a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx index 86ca502..0014788 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx @@ -1029,13 +1029,9 @@ void BLSURFPlugin_BLSURF::SetParameters( TopExp_Explorer exp (GeomShape, TopAbs_FACE); for (; exp.More(); exp.Next()){ MESSAGE("Iterating shapes. Shape type is " << exp.Current().ShapeType()); - TopExp_Explorer exp_face (exp.Current(), TopAbs_VERTEX); + TopExp_Explorer exp_face (exp.Current(), TopAbs_VERTEX, TopAbs_EDGE); for (; exp_face.More(); exp_face.Next()) { - // check if a vertex is internal - if ( exp_face.Current().Orientation() != TopAbs_INTERNAL && - SMESH_MesherHelper::GetAncestors( exp_face.Current(), mesh, TopAbs_EDGE )->more()) - continue; // Get coords of vertex // Check if current coords is already in enfVertexList // If coords not in enfVertexList, add new enfVertex