0021330]: EDF 1919 SMESH: Convert to quadratic gives wrong elements

if ( surface->IsUPeriodic() || surface->IsVPeriodic() ||
+         surface->IsUClosed()   || surface->IsVClosed() )
This commit is contained in:
eap 2011-08-02 09:35:37 +00:00
parent 6a49124672
commit d867e9b08b

View File

@ -229,7 +229,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() )
if ( surface->IsUPeriodic() || surface->IsVPeriodic() ||
surface->IsUClosed() || surface->IsVClosed() )
{
//while ( surface->IsKind(STANDARD_TYPE(Geom_RectangularTrimmedSurface )))
//surface = Handle(Geom_RectangularTrimmedSurface)::DownCast( surface )->BasisSurface();