Forum: Quadrangle meshing of surface with 3 edges

There can be degenerated EDGEs in non-closed and non-periodic FACEs
This commit is contained in:
eap 2014-02-17 13:55:35 +04:00
parent 8585067de8
commit dcc7add229

View File

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