From: eap Date: Thu, 29 Oct 2009 08:30:57 +0000 (+0000) Subject: 0020557: EDF 1151 SMESH: Netgen 2D fail to mesh a ring X-Git-Tag: RELIQUAT_5x_30102009~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=436fc67f9d87494a93058d19872bd90004b3c764;p=modules%2Fsmesh.git 0020557: EDF 1151 SMESH: Netgen 2D fail to mesh a ring --- diff --git a/src/StdMeshers/StdMeshers_FaceSide.cxx b/src/StdMeshers/StdMeshers_FaceSide.cxx index aef26665d..c677973be 100644 --- a/src/StdMeshers/StdMeshers_FaceSide.cxx +++ b/src/StdMeshers/StdMeshers_FaceSide.cxx @@ -541,15 +541,7 @@ TSideVector StdMeshers_FaceSide::GetFaceWires(const TopoDS_Face& theFace, return TSideVector(0); } } - // find out side orientation, which is important if there are several wires (PAL19080) - bool isForward = true; - if ( nbWires > 1 ) { - TopExp_Explorer e( theFace, TopAbs_EDGE ); - while ( ! e.Current().IsSame( wireEdges.back() )) - e.Next(); - isForward = ( e.Current().Orientation() == wireEdges.back().Orientation() ); - } - + const bool isForward = true; StdMeshers_FaceSide* wire = new StdMeshers_FaceSide( theFace, wireEdges, &theMesh, isForward, theIgnoreMediumNodes); wires[ iW ] = StdMeshers_FaceSidePtr( wire );