From e0c1189e09d28e48ba17dc410ac0a2e33b13ab24 Mon Sep 17 00:00:00 2001 From: dmv Date: Mon, 27 Jul 2009 08:48:17 +0000 Subject: [PATCH] IPAL21286 1D Meshing for the Forward and Reversed Edge are equal. --- src/StdMeshers/StdMeshers_Regular_1D.cxx | 2 ++ 1 file changed, 2 insertions(+) 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 ); -- 2.39.2