Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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)
 
 Translates a MappedItem. More precisely <br>
      A MappedItem has a MappingSource and a MappingTarget <br>
      MappingSource has a MappedRepresentation and a MappingOrigin <br>
      MappedRepresentation is the basic item to be instanced <br>
      MappingOrigin is the starting placement <br>
      MappingTarget is the final placement <br>


Hence, the transformation from MappingOrigin and MappingTarget
is computed, the MappedRepr. is converted to a Shape, then
transformed as an instance of this Shape
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 ( )

Member Function Documentation

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 <br>
      A MappedItem has a MappingSource and a MappingTarget <br>
      MappingSource has a MappedRepresentation and a MappingOrigin <br>
      MappedRepresentation is the basic item to be instanced <br>
      MappingOrigin is the starting placement <br>
      MappingTarget is the final placement <br>


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: