From: dmv Date: Mon, 27 Jul 2009 08:48:17 +0000 (+0000) Subject: IPAL21286 1D Meshing for the Forward and Reversed Edge are equal. X-Git-Tag: V4_1_0_maintainance_FINAL~48 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e0c1189e09d28e48ba17dc410ac0a2e33b13ab24;p=modules%2Fsmesh.git IPAL21286 1D Meshing for the Forward and Reversed Edge are equal. --- diff --git a/src/StdMeshers/StdMeshers_Regular_1D.cxx b/src/StdMeshers/StdMeshers_Regular_1D.cxx index f1692228c..f04da1ec3 100644 --- a/src/StdMeshers/StdMeshers_Regular_1D.cxx +++ b/src/StdMeshers/StdMeshers_Regular_1D.cxx @@ -801,6 +801,8 @@ bool StdMeshers_Regular_1D::Compute(SMESH_Mesh & theMesh, const TopoDS_Shape & t { list< double > params; bool reversed = false; + if ( theMesh.GetShapeToMesh().ShapeType() >= TopAbs_WIRE ) + reversed = ( EE.Orientation() == TopAbs_REVERSED ); if ( !_mainEdge.IsNull() ) reversed = ( _mainEdge.Orientation() == TopAbs_REVERSED );