]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Forum: Quadrangle meshing of surface with 3 edges
authoreap <eap@opencascade.com>
Mon, 17 Feb 2014 09:55:35 +0000 (13:55 +0400)
committereap <eap@opencascade.com>
Mon, 17 Feb 2014 09:55:35 +0000 (13:55 +0400)
There can be degenerated EDGEs in non-closed and non-periodic FACEs

src/SMESH/SMESH_MesherHelper.cxx

index 06f247009317d9c124714536411ce6d7063e953b..b2e4a5816de1b1c5b4f8c09f657f2bdbbd8a232c 100644 (file)
@@ -245,8 +245,8 @@ void SMESH_MesherHelper::SetSubShape(const TopoDS_Shape& aSh)
     TopLoc_Location loc;
     Handle(Geom_Surface) surface = BRep_Tool::Surface( face, loc );
 
-    if ( surface->IsUPeriodic() || surface->IsVPeriodic() ||
-         surface->IsUClosed()   || surface->IsVClosed() )
+    // if ( surface->IsUPeriodic() || surface->IsVPeriodic() ||
+    //      surface->IsUClosed()   || surface->IsVClosed() )
     {
       //while ( surface->IsKind(STANDARD_TYPE(Geom_RectangularTrimmedSurface )))
       //surface = Handle(Geom_RectangularTrimmedSurface)::DownCast( surface )->BasisSurface();