Open CASCADE Technology  7.7.0
Public Member Functions
BRepTools_PurgeLocations Class Reference

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_ShapeGetResult () 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...
 

Detailed Description

Removes location datums, which satisfy conditions: aTrsf.IsNegative() || (Abs(Abs(aTrsf.ScaleFactor()) - 1.) > TopLoc_Location::ScalePrec()) from all locations of shape and its subshapes.

Constructor & Destructor Documentation

◆ BRepTools_PurgeLocations()

BRepTools_PurgeLocations::BRepTools_PurgeLocations ( )

Member Function Documentation

◆ GetResult()

const TopoDS_Shape& BRepTools_PurgeLocations::GetResult ( ) const

Returns shape with removed locations.

◆ IsDone()

Standard_Boolean BRepTools_PurgeLocations::IsDone ( ) const

◆ ModifiedShape()

TopoDS_Shape BRepTools_PurgeLocations::ModifiedShape ( const TopoDS_Shape theInitShape) const

Returns modified shape obtained from initial shape.

◆ Perform()

Standard_Boolean BRepTools_PurgeLocations::Perform ( const TopoDS_Shape theShape)

Removes all locations correspodingly to criterium from theShape.


The documentation for this class was generated from the following file: