mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-18 10:40:36 +05:00
0021330]: EDF 1919 SMESH: Convert to quadratic gives wrong elements
if ( surface->IsUPeriodic() || surface->IsVPeriodic() || + surface->IsUClosed() || surface->IsVClosed() )
This commit is contained in:
parent
6a49124672
commit
d867e9b08b
@ -229,7 +229,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() )
|
||||||
{
|
{
|
||||||
//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();
|
||||||
|
Loading…
Reference in New Issue
Block a user