|
Public Member Functions |
Standard_EXPORT | ShapeUpgrade_RemoveLocations () |
| Empy constructor
.
|
Standard_EXPORT 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.
.
|
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Private Member Functions |
Standard_EXPORT Standard_Boolean | MakeNewShape (const TopoDS_Shape &theShape, const TopoDS_Shape &theAncShape, TopoDS_Shape &theNewShape, const Standard_Boolean theRemoveLoc) |
Private Attributes |
TopAbs_ShapeEnum | myLevelRemoving |
TopoDS_Shape | myShape |
TopTools_DataMapOfShapeShape | myMapNewShapes |