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 | ) |
|
| void GEOMAlgo_ShapeSet::Add |
( |
const TopoDS_Shape & |
theShape | ) |
|
| 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::Clear |
( |
| ) |
|
| Standard_Boolean GEOMAlgo_ShapeSet::Contains |
( |
const GEOMAlgo_ShapeSet & |
theSet | ) |
const |
| const TopTools_ListOfShape & GEOMAlgo_ShapeSet::GetSet |
( |
| ) |
const |
| Standard_Boolean GEOMAlgo_ShapeSet::IsEqual |
( |
const GEOMAlgo_ShapeSet & |
theOther | ) |
const |
| Standard_Boolean GEOMAlgo_ShapeSet.operator== |
( |
const GEOMAlgo_ShapeSet & |
theOther | ) |
const |
Field Documentation