From f6160cda300bd68e795fa2ed4e6d51bba5c7b032 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 31 Aug 2012 11:04:42 +0000 Subject: [PATCH] 0021818: [CEA 645] Error when using Use Internal Vertices Fix detection of INTERNAL nodes --- src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 -- 2.39.2