Open CASCADE Technology
7.7.0
|
Removes location datums, which satisfy conditions: aTrsf.IsNegative() || (Abs(Abs(aTrsf.ScaleFactor()) - 1.) > TopLoc_Location::ScalePrec()) from all locations of shape and its subshapes. More...
#include <BRepTools_PurgeLocations.hxx>
Public Member Functions | |
BRepTools_PurgeLocations () | |
Standard_Boolean | Perform (const TopoDS_Shape &theShape) |
Removes all locations correspodingly to criterium from theShape. More... | |
const TopoDS_Shape & | GetResult () const |
Returns shape with removed locations. More... | |
Standard_Boolean | IsDone () const |
TopoDS_Shape | ModifiedShape (const TopoDS_Shape &theInitShape) const |
Returns modified shape obtained from initial shape. More... | |
Removes location datums, which satisfy conditions: aTrsf.IsNegative() || (Abs(Abs(aTrsf.ScaleFactor()) - 1.) > TopLoc_Location::ScalePrec()) from all locations of shape and its subshapes.
BRepTools_PurgeLocations::BRepTools_PurgeLocations | ( | ) |
const TopoDS_Shape& BRepTools_PurgeLocations::GetResult | ( | ) | const |
Returns shape with removed locations.
Standard_Boolean BRepTools_PurgeLocations::IsDone | ( | ) | const |
TopoDS_Shape BRepTools_PurgeLocations::ModifiedShape | ( | const TopoDS_Shape & | theInitShape | ) | const |
Returns modified shape obtained from initial shape.
Standard_Boolean BRepTools_PurgeLocations::Perform | ( | const TopoDS_Shape & | theShape | ) |
Removes all locations correspodingly to criterium from theShape.