Open CASCADE Technology
6.5.4
|
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>
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) |
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 <br> transformation matrix <br>
raises exception if aMatrix is not 3 x 4 array
gp_GTrsf IGESGeom_TransformationMatrix::Value | ( | ) | const [virtual] |
Implements IGESData_TransfEntity.