Open CASCADE Technology
6.5.4
|
Produces instances by Transformation of a basic item
#include <StepToTopoDS_MakeTransformed.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC | StepToTopoDS_MakeTransformed () |
Standard_Boolean | Compute (const Handle< StepGeom_Axis2Placement3d > &Origin, const Handle< StepGeom_Axis2Placement3d > &Target) |
Computes a transformation to pass from an Origin placement to a Target placement. Returns True when done If not done, the transformation will by Identity | |
Standard_Boolean | Compute (const Handle< StepGeom_CartesianTransformationOperator3d > &Operator) |
Computes a transformation defined by an operator 3D | |
const gp_Trsf & | Transformation () const |
Returns the computed transformation (Identity if not yet or if failed) | |
Standard_Boolean | Transform (TopoDS_Shape &shape) const |
Applies the computed transformation to a shape Returns False if the transformation is Identity | |
TopoDS_Shape | TranslateMappedItem (const Handle< StepRepr_MappedItem > &mapit, const Handle< Transfer_TransientProcess > &TP) |
Translates a MappedItem. More precisely A MappedItem has a MappingSource and a MappingTarget MappingSource has a MappedRepresentation and a MappingOrigin MappedRepresentation is the basic item to be instanced MappingOrigin is the starting placement MappingTarget is the final placement Hence, the transformation from MappingOrigin and MappingTarget is computed, the MappedRepr. is converted to a Shape, then transformed as an instance of this Shape |
Standard_Boolean StepToTopoDS_MakeTransformed::Compute | ( | const Handle< StepGeom_Axis2Placement3d > & | Origin, |
const Handle< StepGeom_Axis2Placement3d > & | Target | ||
) |
Standard_Boolean StepToTopoDS_MakeTransformed::Compute | ( | const Handle< StepGeom_CartesianTransformationOperator3d > & | Operator | ) |
Standard_Boolean StepToTopoDS_MakeTransformed::Transform | ( | TopoDS_Shape & | shape | ) | const |
TopoDS_Shape StepToTopoDS_MakeTransformed::TranslateMappedItem | ( | const Handle< StepRepr_MappedItem > & | mapit, |
const Handle< Transfer_TransientProcess > & | TP | ||
) |