|
Open CASCADE Technology 6.5.2
|
A tool to substitute subshapes by other shapes.
The user use the method Substitute to define the
modifications.
A set of shapes is designated to replace a initial
shape.
#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) |
| BRepTools_Substitution () | |
| void | Clear () |
| Reset all the fields. | |
| 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. | |
| 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_Boolean | IsCopied (const TopoDS_Shape &S) const |
| Returns True if <S> has been replaced . | |
| const TopTools_ListOfShape & | Copy (const TopoDS_Shape &S) const |
| Returns the set of shapes substitued to <S> . | |
| BRepTools_Substitution::BRepTools_Substitution | ( | ) |
| void BRepTools_Substitution::Build | ( | const TopoDS_Shape & | S | ) |
| void BRepTools_Substitution::Clear | ( | ) |
| const TopTools_ListOfShape& BRepTools_Substitution::Copy | ( | const TopoDS_Shape & | S | ) | const |
| Standard_Boolean BRepTools_Substitution::IsCopied | ( | const TopoDS_Shape & | S | ) | const |
| void BRepTools_Substitution::operator delete | ( | void * | anAddress | ) | [inline] |
| void* BRepTools_Substitution::operator new | ( | size_t | size | ) | [inline] |
| void* BRepTools_Substitution::operator new | ( | size_t | , |
| void * | anAddress | ||
| ) | [inline] |
| void BRepTools_Substitution::Substitute | ( | const TopoDS_Shape & | OldShape, |
| const TopTools_ListOfShape & | NewShapes | ||
| ) |
1.7.4