|
static Standard_Boolean | Expand (const TDF_Label &theDoc, const TDF_Label &theShape, const Standard_Boolean theRecursively=Standard_True) |
| Converts shape (compound/compsolid/shell/wire) to assembly.
|
|
static Standard_Boolean | Expand (const TDF_Label &theDoc, const Standard_Boolean theRecursively=Standard_True) |
| Converts all compounds shapes in the document to assembly.
|
|
static Standard_Boolean | Extract (const TDF_LabelSequence &theSrcLabels, const TDF_Label &theDstLabel, const Standard_Boolean theIsNoVisMat=Standard_False) |
| Clones all labels to a new position, keeping the structure with all the attributes.
|
|
static Standard_Boolean | Extract (const TDF_Label &theSrcLabel, const TDF_Label &theDstLabel, const Standard_Boolean theIsNoVisMat=Standard_False) |
| Clones the label to a new position, keeping the structure with all the attributes.
|
|
static TDF_Label | CloneShapeLabel (const TDF_Label &theSrcLabel, const Handle< XCAFDoc_ShapeTool > &theSrcShapeTool, const Handle< XCAFDoc_ShapeTool > &theDstShapeTool, TDF_LabelDataMap &theMap) |
| Copies shapes label with keeping of shape structure (recursively)
|
|
static void | CloneMetaData (const TDF_Label &theSrcLabel, const TDF_Label &theDstLabel, NCollection_DataMap< Handle< XCAFDoc_VisMaterial >, Handle< XCAFDoc_VisMaterial > > *theVisMatMap, const Standard_Boolean theToCopyColor=Standard_True, const Standard_Boolean theToCopyLayer=Standard_True, const Standard_Boolean theToCopyMaterial=Standard_True, const Standard_Boolean theToCopyVisMaterial=Standard_True, const Standard_Boolean theToCopyAttributes=Standard_True) |
| Copies metadata contains from the source label to the destination label. Protected against creating a new label for non-existent tools.
|
|
static Standard_Boolean | RescaleGeometry (const TDF_Label &theLabel, const Standard_Real theScaleFactor, const Standard_Boolean theForceIfNotRoot=Standard_False) |
| Applies geometrical scaling to the following assembly components:
|
|
Tool for edit structure of document.