Open CASCADE Technology 6.6.0
Public Member Functions
IGESGeom_TransformationMatrix Class Reference

defines IGESTransformationMatrix, Type <124> Form <0>
in package IGESGeom
The transformation matrix entity transforms three-row column
vectors by means of matrix multiplication and then a vector
addition. This entity can be considered as an "operator"
entity in that it starts with the input vector, operates on
it as described above, and produces the output vector.

#include <IGESGeom_TransformationMatrix.hxx>

Inheritance diagram for IGESGeom_TransformationMatrix:
Inheritance graph
[legend]

Public Member Functions

 IGESGeom_TransformationMatrix ()
void Init (const Handle< TColStd_HArray2OfReal > &aMatrix)
 This method is used to set the fields of the class
TransformationMatrix

void SetFormNumber (const Standard_Integer form)
 Changes FormNumber (indicates the Type of Transf :
Transformation 0-1 or Coordinate System 10-11-12)
Error if not in ranges [0-1] or [10-12]

Standard_Real Data (const Standard_Integer I, const Standard_Integer J) const
 returns individual Data
Errro if I not in [1-3] or J not in [1-4]

gp_GTrsf Value () const
 returns the transformation matrix
4th row elements of GTrsf will always be 0, 0, 0, 1 (not defined)


Constructor & Destructor Documentation

IGESGeom_TransformationMatrix::IGESGeom_TransformationMatrix ( )

Member Function Documentation

Standard_Real IGESGeom_TransformationMatrix::Data ( const Standard_Integer  I,
const Standard_Integer  J 
) const
void IGESGeom_TransformationMatrix::Init ( const Handle< TColStd_HArray2OfReal > &  aMatrix)
  • aMatrix : 3 x 4 array containing elements of the
    transformation matrix
    raises exception if aMatrix is not 3 x 4 array
void IGESGeom_TransformationMatrix::SetFormNumber ( const Standard_Integer  form)
gp_GTrsf IGESGeom_TransformationMatrix::Value ( ) const [virtual]

Implements IGESData_TransfEntity.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines