Open CASCADE Technology  7.7.0.dev
Public Member Functions

StepToTopoDS_MakeTransformed Class Reference

Produces instances by Transformation of a basic item. More...

#include <StepToTopoDS_MakeTransformed.hxx>

Inheritance diagram for StepToTopoDS_MakeTransformed:
Inheritance graph
[legend]

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_TrsfTransformation () 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, 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. 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
 

Detailed Description

Produces instances by Transformation of a basic item.

Constructor & Destructor Documentation

◆ StepToTopoDS_MakeTransformed()

StepToTopoDS_MakeTransformed::StepToTopoDS_MakeTransformed ( )

Member Function Documentation

◆ Compute() [1/2]

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.

◆ Compute() [2/2]

Standard_Boolean StepToTopoDS_MakeTransformed::Compute ( const Handle< StepGeom_CartesianTransformationOperator3d > &  Operator)

Computes a transformation defined by an operator 3D.

◆ Transform()

Standard_Boolean StepToTopoDS_MakeTransformed::Transform ( TopoDS_Shape shape) const

Applies the computed transformation to a shape Returns False if the transformation is Identity.

◆ Transformation()

const gp_Trsf& StepToTopoDS_MakeTransformed::Transformation ( ) const

Returns the computed transformation (Identity if not yet or if failed)

◆ TranslateMappedItem()

TopoDS_Shape StepToTopoDS_MakeTransformed::TranslateMappedItem ( const Handle< StepRepr_MappedItem > &  mapit,
const Handle< Transfer_TransientProcess > &  TP,
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


The documentation for this class was generated from the following file: