Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
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


Member Function Documentation

  - aMatrix : 3 x 4 array containing elements of the <br>
              transformation matrix <br>

raises exception if aMatrix is not 3 x 4 array

Implements IGESData_TransfEntity.


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