#include <BRepTools_Substitution.hxx>
Public Member Functions | |
void * | operator new (size_t, void *anAddress) |
void * | operator new (size_t size) |
void | operator delete (void *anAddress) |
Standard_EXPORT | BRepTools_Substitution () |
Standard_EXPORT void | Clear () |
Reset all the fields. . | |
Standard_EXPORT void | Substitute (const TopoDS_Shape &OldShape, const TopTools_ListOfShape &NewShapes) |
<oldshape> will be replaced by <newshapes>. <newshapes> can be empty , in this case <oldshape> will disparate from its ancestors. if an item of <newshapes> is oriented FORWARD. it will be oriented as <oldshape> in its ancestors. else it will be reversed. | |
Standard_EXPORT void | Build (const TopoDS_Shape &S) |
Build NewShape from <s> if its subshapes has modified. The methods <iscopied> and <copy> allows you to keep the resul of <build> . | |
Standard_EXPORT Standard_Boolean | IsCopied (const TopoDS_Shape &S) const |
Returns True if <s> has been replaced . . | |
Standard_EXPORT const TopTools_ListOfShape & | Copy (const TopoDS_Shape &S) const |
Returns the set of shapes substitued to <s> . . | |
Private Attributes | |
TopTools_DataMapOfShapeListOfShape | myMap |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|