mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-14 09:38:33 +05:00
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:
parent
8585067de8
commit
dcc7add229
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user