From a5ffcb1f56c09c629d6156cb7ff199eff75e02c9 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 16 May 2011 14:22:31 +0000 Subject: [PATCH] 0021263: EDF 1868: Several use cases fail (regressions) - 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx index 87ab316..311f051 100644 --- a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx +++ b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx @@ -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() ); -- 2.39.2