OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    BRepTools_PurgeLocations Class Reference

    Removes location datums, which satisfy conditions: aTrsf.IsNegative() || (std::abs(std::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 ()
    bool Perform (const TopoDS_Shape &theShape)
     Removes all locations correspondingly to criterium from theShape.
    const TopoDS_Shape & GetResult () const
     Returns shape with removed locations.
    bool IsDone () const
    TopoDS_Shape ModifiedShape (const TopoDS_Shape &theInitShape) const
     Returns modified shape obtained from initial shape.

    Detailed Description

    Removes location datums, which satisfy conditions: aTrsf.IsNegative() || (std::abs(std::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()

    bool BRepTools_PurgeLocations::IsDone ( ) const

    ◆ ModifiedShape()

    TopoDS_Shape BRepTools_PurgeLocations::ModifiedShape ( const TopoDS_Shape & theInitShape) const

    Returns modified shape obtained from initial shape.

    ◆ Perform()

    bool BRepTools_PurgeLocations::Perform ( const TopoDS_Shape & theShape)

    Removes all locations correspondingly to criterium from theShape.


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