Version: 6.3.1
Public Member Functions | Protected Attributes

GEOMAlgo_ShapeSet Class Reference

Implementation some formal
opereations with Set of shapes

#include <GEOMAlgo_ShapeSet.hxx>

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT GEOMAlgo_ShapeSet ()
 Empty constructor

Standard_EXPORT void Add (const TopTools_ListOfShape &theLS)
 Adds shapes from the list theLS to the Set

Standard_EXPORT void Add (const TopoDS_Shape &theShape)
 Adds shape theShape to the Set

Standard_EXPORT void Add (const TopoDS_Shape &theShape, const TopAbs_ShapeEnum theType)
 Adds sub-shapes of shape theShape,

Standard_EXPORT void Subtract (const GEOMAlgo_ShapeSet &theSet)
 Removes shapes of theSet from the Set

Standard_EXPORT void Clear ()
 Clears internal fields

Standard_EXPORT Standard_Boolean Contains (const GEOMAlgo_ShapeSet &theSet) const
 Returns True if the Set contains

Standard_EXPORT const
TopTools_ListOfShape & 
GetSet () const
 Returns the Set

Standard_EXPORT Standard_Boolean IsEqual (const GEOMAlgo_ShapeSet &theOther) const
 Returns True if the Set==theSet

Standard_Boolean operator== (const GEOMAlgo_ShapeSet &theOther) const

Protected Attributes

TopTools_MapOfOrientedShape myMap
TopTools_ListOfShape myList

Constructor & Destructor Documentation

GEOMAlgo_ShapeSet::GEOMAlgo_ShapeSet ( )

Member Function Documentation

void* GEOMAlgo_ShapeSet.operator new ( size_t  ,
void *  anAddress 
)
void* GEOMAlgo_ShapeSet.operator new ( size_t  size)
void GEOMAlgo_ShapeSet.operator delete ( void *  anAddress)
void GEOMAlgo_ShapeSet::Add ( const TopTools_ListOfShape &  theLS)

References myList, and myMap.

void GEOMAlgo_ShapeSet::Add ( const TopoDS_Shape &  theShape)

References myList, and myMap.

void GEOMAlgo_ShapeSet::Add ( const TopoDS_Shape &  theShape,
const TopAbs_ShapeEnum  theType 
)

that have type theType to the Set

References myList, and myMap.

void GEOMAlgo_ShapeSet::Subtract ( const GEOMAlgo_ShapeSet theSet)

References myList, and myMap.

void GEOMAlgo_ShapeSet::Clear ( )

References myList, and myMap.

Standard_Boolean GEOMAlgo_ShapeSet::Contains ( const GEOMAlgo_ShapeSet theSet) const

all shapes of theSet

References GetSet(), and myMap.

const TopTools_ListOfShape & GEOMAlgo_ShapeSet::GetSet ( ) const

References myList.

Standard_Boolean GEOMAlgo_ShapeSet::IsEqual ( const GEOMAlgo_ShapeSet theOther) const

References GetSet(), myList, and myMap.

Standard_Boolean GEOMAlgo_ShapeSet.operator== ( const GEOMAlgo_ShapeSet theOther) const

References IsEqual().


Field Documentation

TopTools_MapOfOrientedShape GEOMAlgo_ShapeSet.myMap [protected]
TopTools_ListOfShape GEOMAlgo_ShapeSet.myList [protected]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS