]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PAL13615(EDF PAL 315/31 GEOM SMESH : meshing of a "5 edges quadrangle")
authoreap <eap@opencascade.com>
Fri, 9 Mar 2007 12:30:10 +0000 (12:30 +0000)
committereap <eap@opencascade.com>
Fri, 9 Mar 2007 12:30:10 +0000 (12:30 +0000)
     Cinsider edges to be one side at continuity >= GeomAbs_G1

src/StdMeshers/StdMeshers_CompositeSegment_1D.cxx
src/StdMeshers/StdMeshers_Quadrangle_2D.cxx

index 0f0a2411be071f1f1c6051aebf2aeea3f01c5393..8baf9846a6794d7dafaebac7331752845c03d03a 100644 (file)
@@ -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 )
index 399436890e075f6e804192abd9330028af2606d3..589ca5267154eb5c1ee17ab5217ee835f5e54a02 100644 (file)
@@ -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());
         }