Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b6d3803
)
IPAL21286 1D Meshing for the Forward and Reversed Edge are equal.
author
dmv
<dmv@opencascade.com>
Mon, 27 Jul 2009 08:48:17 +0000
(08:48 +0000)
committer
dmv
<dmv@opencascade.com>
Mon, 27 Jul 2009 08:48:17 +0000
(08:48 +0000)
src/StdMeshers/StdMeshers_Regular_1D.cxx
patch
|
blob
|
history
diff --git
a/src/StdMeshers/StdMeshers_Regular_1D.cxx
b/src/StdMeshers/StdMeshers_Regular_1D.cxx
index f1692228c6be054ec7c997fc738c9124ea3a1b81..f04da1ec38ebd895cc5e7db45c4777a41598b292 100644
(file)
--- 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 );