]> SALOME platform Git repositories - plugins/netgenplugin.git/commitdiff
Salome HOME
0021263: EDF 1868: Several use cases fail (regressions)
authoreap <eap@opencascade.com>
Mon, 16 May 2011 14:22:31 +0000 (14:22 +0000)
committereap <eap@opencascade.com>
Mon, 16 May 2011 14:22:31 +0000 (14:22 +0000)
-      while ( !SMESH_Algo::VertexNode( TopExp::FirstVertex( edges.front(), 1), helper.GetMeshDS())
+      while ( !SMESH_Algo::VertexNode( SMESH_MesherHelper::IthVertex( 0, edges.front()), helper.GetMeshDS())

src/NETGENPlugin/NETGENPlugin_Mesher.cxx

index 87ab3168eb1ee81db6bc6df27200bd25392af50f..311f051d12061468231517a87ec2e2ed78a81926 100644 (file)
@@ -468,7 +468,7 @@ namespace
     {
       // assure that the 1st vertex is meshed
       TopoDS_Edge eLast = edges.back();
-      while ( !SMESH_Algo::VertexNode( TopExp::FirstVertex( edges.front(), 1), helper.GetMeshDS())
+      while ( !SMESH_Algo::VertexNode( SMESH_MesherHelper::IthVertex( 0, edges.front()), helper.GetMeshDS())
               &&
               edges.front() != eLast )
         edges.splice( edges.end(), edges, edges.begin() );