A tool to substitute subshapes by other shapes. More...
#include <BRepTools_Substitution.hxx>
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.
The method Build reconstructs a new Shape with the modifications.The Shape and the new shape are registered.
Build NewShape from <S> if its subshapes has modified.
The methods <IsCopied> and <Copy> allows you to keep the resul of <Build>
Reset all the fields.
Returns the set of shapes substitued to <S> .
Returns True if <S> has been replaced .
<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.