]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
IPAL21286 1D Meshing for the Forward and Reversed Edge are equal.
authordmv <dmv@opencascade.com>
Mon, 27 Jul 2009 08:48:17 +0000 (08:48 +0000)
committerdmv <dmv@opencascade.com>
Mon, 27 Jul 2009 08:48:17 +0000 (08:48 +0000)
src/StdMeshers/StdMeshers_Regular_1D.cxx

index f1692228c6be054ec7c997fc738c9124ea3a1b81..f04da1ec38ebd895cc5e7db45c4777a41598b292 100644 (file)
@@ -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 );