From: eap Date: Fri, 9 Mar 2007 12:30:10 +0000 (+0000) Subject: PAL13615(EDF PAL 315/31 GEOM SMESH : meshing of a "5 edges quadrangle") X-Git-Tag: V3_2_6pre2~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=708dca577acf5b227fdad8cf5b82a3de2607da72;p=modules%2Fsmesh.git PAL13615(EDF PAL 315/31 GEOM SMESH : meshing of a "5 edges quadrangle") Cinsider edges to be one side at continuity >= GeomAbs_G1 --- diff --git a/src/StdMeshers/StdMeshers_CompositeSegment_1D.cxx b/src/StdMeshers/StdMeshers_CompositeSegment_1D.cxx index 0f0a2411b..8baf9846a 100644 --- a/src/StdMeshers/StdMeshers_CompositeSegment_1D.cxx +++ b/src/StdMeshers/StdMeshers_CompositeSegment_1D.cxx @@ -89,7 +89,7 @@ namespace { } if ( edgeCounter.Extent() < 3 && !eNext.IsNull() ) { GeomAbs_Shape cont = SMESH_Algo::Continuity( edge, eNext ); - if (cont >= GeomAbs_C1) { + if (cont >= GeomAbs_G1) { // care of orientation bool reverse; if ( forward ) diff --git a/src/StdMeshers/StdMeshers_Quadrangle_2D.cxx b/src/StdMeshers/StdMeshers_Quadrangle_2D.cxx index 399436890..589ca5267 100644 --- a/src/StdMeshers/StdMeshers_Quadrangle_2D.cxx +++ b/src/StdMeshers/StdMeshers_Quadrangle_2D.cxx @@ -595,7 +595,7 @@ FaceQuadStruct* StdMeshers_Quadrangle_2D::CheckNbEdges(SMESH_Mesh & aMes bool sameSide = true; while ( !edges.empty() && sameSide ) { GeomAbs_Shape cont = SMESH_Algo::Continuity( sideEdges.back(), edges.front() ); - sameSide = ( cont >= GeomAbs_C1 ); + sameSide = ( cont >= GeomAbs_G1 ); if ( sameSide ) sideEdges.splice( sideEdges.end(), edges, edges.begin()); } @@ -603,7 +603,7 @@ FaceQuadStruct* StdMeshers_Quadrangle_2D::CheckNbEdges(SMESH_Mesh & aMes sameSide = true; while ( !edges.empty() && sameSide ) { GeomAbs_Shape cont = SMESH_Algo::Continuity( sideEdges.front(), edges.back() ); - sameSide = ( cont >= GeomAbs_C1 ); + sameSide = ( cont >= GeomAbs_G1 ); if ( sameSide ) sideEdges.splice( sideEdges.begin(), edges, --edges.end()); }