Open CASCADE Technology 7.8.0
|
#include <TNaming_ShapesSet.hxx>
Public Member Functions | |
TNaming_ShapesSet () | |
TNaming_ShapesSet (const TopoDS_Shape &S, const TopAbs_ShapeEnum Type=TopAbs_SHAPE) | |
void | Clear () |
Removes all Shapes. | |
Standard_Boolean | Add (const TopoDS_Shape &S) |
Adds the Shape | |
Standard_Boolean | Contains (const TopoDS_Shape &S) const |
Returns True if | |
Standard_Boolean | Remove (const TopoDS_Shape &S) |
Removes | |
void | Add (const TNaming_ShapesSet &Shapes) |
Adds the shapes contained in <Shapes>. | |
void | Filter (const TNaming_ShapesSet &Shapes) |
Erases in <me> the shapes not contained in <Shapes> | |
void | Remove (const TNaming_ShapesSet &Shapes) |
Removes in <me> the shapes contained in <Shapes> | |
Standard_Boolean | IsEmpty () const |
Standard_Integer | NbShapes () const |
TopTools_MapOfShape & | ChangeMap () |
const TopTools_MapOfShape & | Map () const |
TNaming_ShapesSet::TNaming_ShapesSet | ( | ) |
TNaming_ShapesSet::TNaming_ShapesSet | ( | const TopoDS_Shape & | S, |
const TopAbs_ShapeEnum | Type = TopAbs_SHAPE |
||
) |
void TNaming_ShapesSet::Add | ( | const TNaming_ShapesSet & | Shapes | ) |
Adds the shapes contained in <Shapes>.
Standard_Boolean TNaming_ShapesSet::Add | ( | const TopoDS_Shape & | S | ) |
Adds the Shape
TopTools_MapOfShape & TNaming_ShapesSet::ChangeMap | ( | ) |
void TNaming_ShapesSet::Clear | ( | ) |
Removes all Shapes.
Standard_Boolean TNaming_ShapesSet::Contains | ( | const TopoDS_Shape & | S | ) | const |
Returns True if is in <me>
void TNaming_ShapesSet::Filter | ( | const TNaming_ShapesSet & | Shapes | ) |
Erases in <me> the shapes not contained in <Shapes>
Standard_Boolean TNaming_ShapesSet::IsEmpty | ( | ) | const |
const TopTools_MapOfShape & TNaming_ShapesSet::Map | ( | ) | const |
Standard_Integer TNaming_ShapesSet::NbShapes | ( | ) | const |
void TNaming_ShapesSet::Remove | ( | const TNaming_ShapesSet & | Shapes | ) |
Removes in <me> the shapes contained in <Shapes>
Standard_Boolean TNaming_ShapesSet::Remove | ( | const TopoDS_Shape & | S | ) |
Removes in <me>.