Support Forum       G3D Web Page     
Public Member Functions | Static Public Member Functions | List of all members
G3D::Matrix2 Class Reference

Public Member Functions

 Matrix2 (DoNotInitialize dni)
 
 Matrix2 ()
 
 Matrix2 (const class Any &)
 
 Matrix2 (float v00, float v01, float v10, float v11)
 
float determinant () const
 
Matrix2 inverse () const
 
 operator const float * () const
 
 operator float * ()
 
Vector2 operator* (const Vector2 &v) const
 
Matrix2 operator* (float f) const
 
Matrix2 operator/ (float f) const
 
float * operator[] (int i)
 
const float * operator[] (int i) const
 
Matrix2 transpose () const
 

Static Public Member Functions

static Matrix2 identity ()
 

Detailed Description

BETA API Likely to receive incompatible changes in future releases.

Constructor & Destructor Documentation

◆ Matrix2() [1/4]

G3D::Matrix2::Matrix2 ( DoNotInitialize  dni)
inline

◆ Matrix2() [2/4]

G3D::Matrix2::Matrix2 ( )
inline

◆ Matrix2() [3/4]

G3D::Matrix2::Matrix2 ( const class Any )
explicit

◆ Matrix2() [4/4]

G3D::Matrix2::Matrix2 ( float  v00,
float  v01,
float  v10,
float  v11 
)
inline

Member Function Documentation

◆ determinant()

float G3D::Matrix2::determinant ( ) const
inline

Referenced by inverse().

◆ identity()

static Matrix2 G3D::Matrix2::identity ( )
inlinestatic

◆ inverse()

Matrix2 G3D::Matrix2::inverse ( ) const
inline

◆ operator const float *()

G3D::Matrix2::operator const float * ( ) const
inline

◆ operator float *()

G3D::Matrix2::operator float * ( )
inline

◆ operator*() [1/2]

Vector2 G3D::Matrix2::operator* ( const Vector2 v) const
inline

◆ operator*() [2/2]

Matrix2 G3D::Matrix2::operator* ( float  f) const
inline

◆ operator/()

Matrix2 G3D::Matrix2::operator/ ( float  f) const
inline

◆ operator[]() [1/2]

float* G3D::Matrix2::operator[] ( int  i)
inline

◆ operator[]() [2/2]

const float* G3D::Matrix2::operator[] ( int  i) const
inline

◆ transpose()

Matrix2 G3D::Matrix2::transpose ( ) const
inline

documentation generated on Wed Nov 24 2021 08:01:58 using doxygen 1.8.15