#include <ecgeometry.h>
Public Member Functions | |
Matrix () | |
Default constructor Sets this matrix to identity. | |
Matrix (float *a_pValues) | |
Floating array constructor. | |
~Matrix () | |
Destruction. | |
void | SetRow (int a_nRow, float *a_pValues) |
Sets the values of a given row. | |
const YRMatrix4x4 & | AsYRMatrix () const |
Provides access to our YRMatrix4x4 internal object. | |
virtual PYOBJECT | PyAsString () |
Python text representation method This function must be implemented by all children. | |
Static Public Member Functions | |
static bool | PyTypeCheck (PYOBJECT a_pObject) |
Python type check Verifies that the provided python object encapsulates our class. | |
Static Public Attributes | |
static const Matrix | Identity |
Identity matrix. | |
Protected Member Functions | |
virtual void | DeleteObject () |
Child message hook for reference-count based destruction. |
Definition at line 160 of file ecgeometry.h.
Matrix::Matrix | ( | float * | a_pValues | ) |
Floating array constructor.
a_pValues | an array of 16 floats to populate this matrix with. Row major. |
virtual void Matrix::DeleteObject | ( | ) | [protected, virtual] |
Child message hook for reference-count based destruction.
The child class is responsible for deleting any instance to which this this function is called.
Reimplemented from EclipseObject.
virtual PYOBJECT Matrix::PyAsString | ( | ) | [virtual] |
Python text representation method This function must be implemented by all children.
Reimplemented from EclipseObject.
static bool Matrix::PyTypeCheck | ( | PYOBJECT | a_pObject | ) | [static] |
Python type check Verifies that the provided python object encapsulates our class.
Reimplemented from EclipseObject.
void Matrix::SetRow | ( | int | a_nRow, | |
float * | a_pValues | |||
) |
Sets the values of a given row.
a_nRow | Zero based row index | |
a_pValues | An array of four floats |