const double*   sgCMatrix::GetData()

 

Description:

Returns the pointer to the array of the sixteen numbers of the double type.

 

Arguments:

No arguments.

 

Returned value:

Returns the pointer to the data which are the representatives of a 4x4 matrix. In other words the pointer returns to the block of memory storing the array of the sixteen numbers of the double type.

 

Example:

 

sgCMatrix matr1;

const double* matr_data = matr1.GetData();

assert(matr_data[0]==1.0);

assert(matr_data[1]==0.0);