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 (parent:
32a86c1
)
Issue 0020921: EDF 1462 SMESH: Regression in 5.1.4. a quadrangle meshing fails
translate_resources_09Jul10
author
vsr
<vsr@opencascade.com>
Thu, 8 Jul 2010 06:51:11 +0000
(06:51 +0000)
committer
vsr
<vsr@opencascade.com>
Thu, 8 Jul 2010 06:51:11 +0000
(06:51 +0000)
src/SMESH/SMESH_Algo.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH/SMESH_Algo.cxx
b/src/SMESH/SMESH_Algo.cxx
index 671e2660f4c8fb68344aa1251982b322194fcee8..3a6a4efd97dad1f5624cdbb07a530c909c59b2b1 100644
(file)
--- a/
src/SMESH/SMESH_Algo.cxx
+++ b/
src/SMESH/SMESH_Algo.cxx
@@
-492,7
+492,11
@@
bool SMESH_Algo::InitCompatibleHypoFilter( SMESH_HypoFilter & theFilter,
GeomAbs_Shape SMESH_Algo::Continuity(TopoDS_Edge E1,
TopoDS_Edge E2)
{
GeomAbs_Shape SMESH_Algo::Continuity(TopoDS_Edge E1,
TopoDS_Edge E2)
{
- E1.Orientation(TopAbs_FORWARD), E2.Orientation(TopAbs_FORWARD); // avoid pb with internal edges
+ //E1.Orientation(TopAbs_FORWARD), E2.Orientation(TopAbs_FORWARD); // avoid pb with internal edges
+ if (E1.Orientation() > TopAbs_REVERSED) // INTERNAL
+ E1.Orientation( TopAbs_FORWARD );
+ if (E2.Orientation() > TopAbs_REVERSED) // INTERNAL
+ E2.Orientation( TopAbs_FORWARD );
TopoDS_Vertex V = TopExp::LastVertex (E1, true);
if ( !V.IsSame( TopExp::FirstVertex(E2, true )))
if ( !TopExp::CommonVertex( E1, E2, V ))
TopoDS_Vertex V = TopExp::LastVertex (E1, true);
if ( !V.IsSame( TopExp::FirstVertex(E2, true )))
if ( !TopExp::CommonVertex( E1, E2, V ))