Open CASCADE Technology 7.8.2.dev
|
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, const StepData_Factors &theLocalFactors=StepData_Factors()) |
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, const StepData_Factors &theLocalFactors=StepData_Factors()) |
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, const StepData_Factors &theLocalFactors=StepData_Factors(), const Message_ProgressRange &theProgress=Message_ProgressRange()) |
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. | |
Public Member Functions inherited from StepToTopoDS_Root | |
Standard_Boolean | IsDone () const |
Standard_Real | Precision () const |
Returns the value of "MyPrecision". | |
void | SetPrecision (const Standard_Real preci) |
Sets the value of "MyPrecision". | |
Standard_Real | MaxTol () const |
Returns the value of "MaxTol". | |
void | SetMaxTol (const Standard_Real maxpreci) |
Sets the value of MaxTol. | |
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, | ||
const StepData_Factors & | theLocalFactors = StepData_Factors() ) |
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, |
const StepData_Factors & | theLocalFactors = StepData_Factors() ) |
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, | ||
const StepData_Factors & | theLocalFactors = StepData_Factors(), | ||
const Message_ProgressRange & | theProgress = Message_ProgressRange() ) |
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