Open CASCADE Technology
7.1.0.beta
|
Produces instances by Transformation of a basic item. More...
#include <StepToTopoDS_MakeTransformed.hxx>
Public Member Functions | |
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. More... | |
Standard_Boolean | Compute (const Handle< StepGeom_CartesianTransformationOperator3d > &Operator) |
Computes a transformation defined by an operator 3D. More... | |
const gp_Trsf & | Transformation () const |
Returns the computed transformation (Identity if not yet or if failed) More... | |
Standard_Boolean | Transform (TopoDS_Shape &shape) const |
Applies the computed transformation to a shape Returns False if the transformation is Identity. More... | |
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. More... | |
Public Member Functions inherited from StepToTopoDS_Root | |
Standard_Boolean | IsDone () const |
Standard_Real | Precision () const |
Returns the value of "MyPrecision". More... | |
void | SetPrecision (const Standard_Real preci) |
Sets the value of "MyPrecision". More... | |
Standard_Real | MaxTol () const |
Returns the value of "MaxTol". More... | |
void | SetMaxTol (const Standard_Real maxpreci) |
Sets the value of MaxTol. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from StepToTopoDS_Root | |
StepToTopoDS_Root () | |
Protected Attributes inherited from StepToTopoDS_Root | |
Standard_Boolean | done |
Produces instances by Transformation of a basic item.
StepToTopoDS_MakeTransformed::StepToTopoDS_MakeTransformed | ( | ) |
Standard_Boolean StepToTopoDS_MakeTransformed::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 StepToTopoDS_MakeTransformed::Compute | ( | const Handle< StepGeom_CartesianTransformationOperator3d > & | Operator | ) |
Computes a transformation defined by an operator 3D.
Standard_Boolean StepToTopoDS_MakeTransformed::Transform | ( | TopoDS_Shape & | shape | ) | const |
Applies the computed transformation to a shape Returns False if the transformation is Identity.
const gp_Trsf& StepToTopoDS_MakeTransformed::Transformation | ( | ) | const |
Returns the computed transformation (Identity if not yet or if failed)
TopoDS_Shape StepToTopoDS_MakeTransformed::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