mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
0026182: Calling ShapeFix_FixSmallFace.RemoveSmallFaces() always leads to stack overflow
Unused methods RemoveSmallFaces() and SplitFaces() are removed.
This commit is contained in:
parent
a7f510bfae
commit
0bbdddae85
@ -64,17 +64,10 @@ is
|
||||
---Purpose :
|
||||
--
|
||||
|
||||
SplitFaces(me: mutable) returns Shape from TopoDS;
|
||||
---Purpose : Split faces by splitting vertices
|
||||
--
|
||||
|
||||
SplitOneFace(me: mutable; F : in out Face from TopoDS;theSplittedFaces: in out Compound from TopoDS) returns Boolean;
|
||||
---Purpose : Compute data for face splitting.
|
||||
--
|
||||
|
||||
RemoveSmallFaces(me:mutable) returns Shape from TopoDS;
|
||||
---Purpose : Remove small faces from compound.
|
||||
|
||||
--Fixes after removing
|
||||
FixFace(me: mutable; F: Face from TopoDS) returns Face from TopoDS;
|
||||
FixShape(me: mutable) returns Shape from TopoDS;
|
||||
|
@ -537,14 +537,6 @@ ShapeFix_FixSmallFace::ShapeFix_FixSmallFace()
|
||||
myShape = Context()->Apply(myShape);
|
||||
myResult = myShape;
|
||||
return myShape;
|
||||
}
|
||||
|
||||
TopoDS_Shape ShapeFix_FixSmallFace::SplitFaces()
|
||||
{
|
||||
myShape = RemoveSmallFaces();
|
||||
myResult = myShape;
|
||||
return myShape;
|
||||
|
||||
}
|
||||
|
||||
Standard_Boolean ShapeFix_FixSmallFace::SplitOneFace(TopoDS_Face& F,TopoDS_Compound& theSplittedFaces)
|
||||
@ -718,16 +710,6 @@ ShapeFix_FixSmallFace::ShapeFix_FixSmallFace()
|
||||
return Standard_False ;
|
||||
}
|
||||
|
||||
|
||||
TopoDS_Shape ShapeFix_FixSmallFace::RemoveSmallFaces()
|
||||
{
|
||||
myShape = SplitFaces();
|
||||
myShape = FixSpotFace();
|
||||
myShape = FixStripFace ();
|
||||
return myShape;
|
||||
|
||||
}
|
||||
|
||||
TopoDS_Face ShapeFix_FixSmallFace::FixFace(const TopoDS_Face& F)
|
||||
{
|
||||
//smh#8
|
||||
|
Loading…
x
Reference in New Issue
Block a user