Open CASCADE Technology
6.5.4
|
Removes all locations sub-shapes of specified shape
#include <ShapeUpgrade_RemoveLocations.hxx>
Public Member Functions | |
ShapeUpgrade_RemoveLocations () | |
Empy constructor | |
Standard_Boolean | Remove (const TopoDS_Shape &theShape) |
Removes all location correspodingly to RemoveLevel. | |
TopoDS_Shape | GetResult () const |
Returns shape with removed locatins. | |
void | SetRemoveLevel (const TopAbs_ShapeEnum theLevel) |
sets level starting with that location will be removed, by default TopAbs_SHAPE. In this case locations will be kept for specified shape and if specified shape is TopAbs_COMPOUND for sub-shapes of first level. | |
TopAbs_ShapeEnum | RemoveLevel () const |
sets level starting with that location will be removed.Value of level can be set to TopAbs_SHAPE,TopAbs_COMPOUND,TopAbs_SOLID,TopAbs_SHELL,TopAbs_FACE.By default TopAbs_SHAPE. In this case location will be removed for all shape types for exception of compound. | |
TopoDS_Shape | ModifiedShape (const TopoDS_Shape &theInitShape) const |
Returns modified shape obtained from initial shape. |
TopoDS_Shape ShapeUpgrade_RemoveLocations::ModifiedShape | ( | const TopoDS_Shape & | theInitShape | ) | const |