Open CASCADE Technology 6.6.0
Public Member Functions
ShapeUpgrade_RemoveLocations Class Reference

Removes all locations sub-shapes of specified shape

#include <ShapeUpgrade_RemoveLocations.hxx>

Inheritance diagram for ShapeUpgrade_RemoveLocations:
Inheritance graph
[legend]

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.


Constructor & Destructor Documentation

ShapeUpgrade_RemoveLocations::ShapeUpgrade_RemoveLocations ( )

Member Function Documentation

TopoDS_Shape ShapeUpgrade_RemoveLocations::GetResult ( ) const
TopoDS_Shape ShapeUpgrade_RemoveLocations::ModifiedShape ( const TopoDS_Shape theInitShape) const
Standard_Boolean ShapeUpgrade_RemoveLocations::Remove ( const TopoDS_Shape theShape)
TopAbs_ShapeEnum ShapeUpgrade_RemoveLocations::RemoveLevel ( ) const
void ShapeUpgrade_RemoveLocations::SetRemoveLevel ( const TopAbs_ShapeEnum  theLevel)

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines