0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm

arg theFirstVertex of SMESH_Block::GetOrderedEdges() became optional
This commit is contained in:
eap 2013-01-28 08:27:35 +00:00
parent b605589582
commit 4b17835d08

View File

@ -655,10 +655,9 @@ bool _QuadFaceGrid::Init(const TopoDS_Face& f)
//if ( myFace.Orientation() != TopAbs_FORWARD )
//myFace.Reverse();
TopoDS_Vertex V;
list< TopoDS_Edge > edges;
list< int > nbEdgesInWire;
int nbWire = SMESH_Block::GetOrderedEdges (myFace, V, edges, nbEdgesInWire);
int nbWire = SMESH_Block::GetOrderedEdges (myFace, edges, nbEdgesInWire);
if ( nbWire != 1 )
return false;