diff --git a/src/ShapeFix/ShapeFix_FixSmallFace.cdl b/src/ShapeFix/ShapeFix_FixSmallFace.cdl index 5c2246b585..780cf75523 100644 --- a/src/ShapeFix/ShapeFix_FixSmallFace.cdl +++ b/src/ShapeFix/ShapeFix_FixSmallFace.cdl @@ -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; diff --git a/src/ShapeFix/ShapeFix_FixSmallFace.cxx b/src/ShapeFix/ShapeFix_FixSmallFace.cxx index b612ec749b..ce2349385a 100644 --- a/src/ShapeFix/ShapeFix_FixSmallFace.cxx +++ b/src/ShapeFix/ShapeFix_FixSmallFace.cxx @@ -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