Open CASCADE Technology  7.2.0
Public Member Functions

TNaming_ShapesSet Class Reference

#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. More...
 
Standard_Boolean Add (const TopoDS_Shape &S)
 Adds the Shape <S> More...
 
Standard_Boolean Contains (const TopoDS_Shape &S) const
 Returns True if <S> is in <me> More...
 
Standard_Boolean Remove (const TopoDS_Shape &S)
 Removes <S> in <me>. More...
 
void Add (const TNaming_ShapesSet &Shapes)
 Adds the shapes contained in <Shapes>. More...
 
void Filter (const TNaming_ShapesSet &Shapes)
 Erases in <me> the shapes not contained in <Shapes> More...
 
void Remove (const TNaming_ShapesSet &Shapes)
 Removes in <me> the shapes contained in <Shapes> More...
 
Standard_Boolean IsEmpty () const
 
Standard_Integer NbShapes () const
 
TopTools_MapOfShapeChangeMap ()
 
const TopTools_MapOfShapeMap () const
 

Constructor & Destructor Documentation

◆ TNaming_ShapesSet() [1/2]

TNaming_ShapesSet::TNaming_ShapesSet ( )

◆ TNaming_ShapesSet() [2/2]

TNaming_ShapesSet::TNaming_ShapesSet ( const TopoDS_Shape S,
const TopAbs_ShapeEnum  Type = TopAbs_SHAPE 
)

Member Function Documentation

◆ Add() [1/2]

Standard_Boolean TNaming_ShapesSet::Add ( const TopoDS_Shape S)

Adds the Shape <S>

◆ Add() [2/2]

void TNaming_ShapesSet::Add ( const TNaming_ShapesSet Shapes)

Adds the shapes contained in <Shapes>.

◆ ChangeMap()

TopTools_MapOfShape& TNaming_ShapesSet::ChangeMap ( )

◆ Clear()

void TNaming_ShapesSet::Clear ( )

Removes all Shapes.

◆ Contains()

Standard_Boolean TNaming_ShapesSet::Contains ( const TopoDS_Shape S) const

Returns True if <S> is in <me>

◆ Filter()

void TNaming_ShapesSet::Filter ( const TNaming_ShapesSet Shapes)

Erases in <me> the shapes not contained in <Shapes>

◆ IsEmpty()

Standard_Boolean TNaming_ShapesSet::IsEmpty ( ) const

◆ Map()

const TopTools_MapOfShape& TNaming_ShapesSet::Map ( ) const

◆ NbShapes()

Standard_Integer TNaming_ShapesSet::NbShapes ( ) const

◆ Remove() [1/2]

Standard_Boolean TNaming_ShapesSet::Remove ( const TopoDS_Shape S)

Removes <S> in <me>.

◆ Remove() [2/2]

void TNaming_ShapesSet::Remove ( const TNaming_ShapesSet Shapes)

Removes in <me> the shapes contained in <Shapes>


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