|
Public Member Functions |
void * | operator new (size_t, void *anAddress) |
void * | operator new (size_t size) |
void | operator delete (void *anAddress) |
Standard_EXPORT | BRepAlgo_Image () |
Standard_EXPORT void | SetRoot (const TopoDS_Shape &S) |
Standard_EXPORT void | Bind (const TopoDS_Shape &OldS, const TopoDS_Shape &NewS) |
| Links <news> as image of <olds>.
.
|
Standard_EXPORT void | Bind (const TopoDS_Shape &OldS, const TopTools_ListOfShape &NewS) |
| Links <news> as image of <olds>.
.
|
Standard_EXPORT void | Add (const TopoDS_Shape &OldS, const TopoDS_Shape &NewS) |
| Add <news> to the image of <olds>.
.
|
Standard_EXPORT void | Add (const TopoDS_Shape &OldS, const TopTools_ListOfShape &NewS) |
| Add <news> to the image of <olds>.
.
|
Standard_EXPORT void | Clear () |
Standard_EXPORT void | Remove (const TopoDS_Shape &S) |
| Remove <s> to set of images.
.
|
Standard_EXPORT const TopTools_ListOfShape & | Roots () const |
Standard_EXPORT Standard_Boolean | IsImage (const TopoDS_Shape &S) const |
Standard_EXPORT const TopoDS_Shape & | ImageFrom (const TopoDS_Shape &S) const |
| Returns the generator of <s>
.
|
Standard_EXPORT const TopoDS_Shape & | Root (const TopoDS_Shape &S) const |
| Returns the upper generator of <s>
.
|
Standard_EXPORT Standard_Boolean | HasImage (const TopoDS_Shape &S) const |
Standard_EXPORT const TopTools_ListOfShape & | Image (const TopoDS_Shape &S) const |
| Returns the Image of <s>.
Returns <s> in the list if HasImage(S) is false.
.
|
Standard_EXPORT void | LastImage (const TopoDS_Shape &S, TopTools_ListOfShape &L) const |
| Stores in <l> the images of images of...images of <s>.
<l> contains only <s> if HasImage(S) is false.
.
|
Standard_EXPORT void | Compact () |
| Keeps only the link between roots and lastimage.
.
|
Standard_EXPORT void | Filter (const TopoDS_Shape &S, const TopAbs_ShapeEnum ShapeType) |
| Deletes in the images the shape of type <shapetype>
which are not in <s>.
Warning: Compact() must be call before.
.
|
Private Attributes |
TopTools_ListOfShape | roots |
TopTools_DataMapOfShapeShape | up |
TopTools_DataMapOfShapeListOfShape | down |