#include <fbtypes.h>
Class Description
Four x Four (double) Matrix.
Definition at line 289 of file fbtypes.h.
Constructor & Destructor Documentation
Constructor Initializes matrix to identity.
FBMatrix::FBMatrix |
( |
const double * |
pValue |
) |
|
Constructor.
- Parameters:
-
pValue |
Array to intialize matrix from. |
FBMatrix::FBMatrix |
( |
const FBMatrix & |
pMatrix |
) |
|
Copy Constructor.
- Parameters:
-
Member Function Documentation
void FBMatrix::Identity |
( |
|
) |
|
void FBMatrix::Set |
( |
const double * |
pValue |
) |
|
Set matrix from an array.
- Parameters:
-
pValue |
Array to intialize matrix from. |
FBMatrix::operator double * |
( |
|
) |
const |
Overloaded double* cast.
- Returns:
- Matrix as an array.
double** FBMatrix::GetData |
( |
|
) |
const |
return internal Data
- Returns:
- return an array[4][4].
double& FBMatrix::operator() |
( |
int |
i, |
|
|
int |
j |
|
) |
|
|
Overloaded operator (,)
- Returns:
- element at position i,j
Overloaded equal operator.
- Parameters:
-
- Returns:
- this matrix as a const.
const FBMatrix& FBMatrix::operator= |
( |
const double * |
pValue |
) |
|
assign operator.
- Parameters:
-
- Returns:
- this matrix as a const.
bool FBMatrix::operator!= |
( |
const FBMatrix & |
pMatrix |
) |
|
not equal operator.
- Parameters:
-
pMatrix |
Matrix to compare. |
- Returns:
- true if not equal.
bool FBMatrix::operator== |
( |
const FBMatrix & |
pMatrix |
) |
|
equal operator.
- Parameters:
-
pMatrix |
Matrix to compare. |
- Returns:
- true if equal.
add operator.
- Parameters:
-
- Returns:
- result Matrix.
add operator in place.
- Parameters:
-
- Returns:
- this matrix as a const.
unary minus operator.
- Returns:
- this matrix as a const.
minus operator.
- Parameters:
-
- Returns:
- result Matrix.
minus operator in place.
- Parameters:
-
- Returns:
- this matrix.
multiply operator.
- Parameters:
-
pMatrix |
Matrix to multiply. |
- Returns:
- result Matrix.
multiply operator in place.
- Parameters:
-
pMatrix |
Matrix to multiply. |
- Returns:
- this matrix.
const FBMatrix FBMatrix::operator* |
( |
const double |
pN |
) |
const |
multiply operator for double.
- Parameters:
-
- Returns:
- result Matrix.
FBMatrix& FBMatrix::operator*= |
( |
const double |
pN |
) |
|
multiply operator for double in place.
- Parameters:
-
- Returns:
- this matrix.
Get Inversed matrix.
- Returns:
- the matrix Inversed.
Get Transposed matrix.
- Returns:
- the matrix Transposed.
bool FBMatrix::Validate |
( |
|
) |
|
Validated matrix.
- Returns:
- true if matrix Validated.
InverseProduct Matrix.
- Parameters:
-
pMatrix |
Matrix to Product. |
- Returns:
- result matrix.
The documentation for this class was generated from the following
file: