]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
0021812: [CEA 638] Error when using Use Internal Vertices on all faces
authoreap <eap@opencascade.com>
Fri, 24 Aug 2012 13:23:35 +0000 (13:23 +0000)
committereap <eap@opencascade.com>
Fri, 24 Aug 2012 13:23:35 +0000 (13:23 +0000)
make enforced only INTERNAL vertices

+          if ( exp_face.Current().Orientation() != TopAbs_INTERNAL )
+            continue;

src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx

index 86ebb0e642a86a590d2071e1fe63724db466b745..732760beba56834e33220c89ea19588bd8869579 100644 (file)
@@ -1031,6 +1031,8 @@ void BLSURFPlugin_BLSURF::SetParameters(
           // Get coords of vertex
           // Check if current coords is already in enfVertexList
           // If coords not in enfVertexList, add new enfVertex
+          if ( exp_face.Current().Orientation() != TopAbs_INTERNAL )
+            continue;
           aPnt = BRep_Tool::Pnt(TopoDS::Vertex(exp_face.Current()));
           MESSAGE("Found vertex on face at " << aPnt.X() <<", "<<aPnt.Y()<<", "<<aPnt.Z());
           BLSURFPlugin_Hypothesis::TEnfVertex* enfVertex = new BLSURFPlugin_Hypothesis::TEnfVertex();