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

A 2x3 matrix. More...

Public Member Functions

 Matrix2x3 (float r1c1, float r1c2, float r1c3, float r2c1, float r2c2, float r2c3)
 
 Matrix2x3 (const Any &any)
 Must be in one of the following forms: More...
 
 Matrix2x3 (DoNotInitialize dni)
 
 Matrix2x3 (const float *init)
 
init should be row major. More...
 
 Matrix2x3 ()
 Matrix2x3::zero() More...
 
 operator const float * () const
 
 operator float * ()
 Returns a row-major pointer. More...
 
bool operator!= (const Matrix2x3 &other) const
 
class Vector2 operator* (const class Vector3 &v) const
 
bool operator== (const Matrix2x3 &other) const
 
float * operator[] (int r)
 
const float * operator[] (int r) const
 
String toString () const
 

Static Public Member Functions

static const Matrix2x3zero ()
 

Detailed Description

A 2x3 matrix.

Do not subclass. Data is initialized to 0 when default constructed.

See also
G3D::CoordinateFrame, G3D::Matrix3, G3D::Matrix4, G3D::Matrix3x4, G3D::Quat

Constructor & Destructor Documentation

◆ Matrix2x3() [1/5]

G3D::Matrix2x3::Matrix2x3 ( float  r1c1,
float  r1c2,
float  r1c3,
float  r2c1,
float  r2c2,
float  r2c3 
)
inline

◆ Matrix2x3() [2/5]

G3D::Matrix2x3::Matrix2x3 ( const Any any)

Must be in one of the following forms:

◆ Matrix2x3() [3/5]

G3D::Matrix2x3::Matrix2x3 ( DoNotInitialize  dni)
inline

◆ Matrix2x3() [4/5]

G3D::Matrix2x3::Matrix2x3 ( const float *  init)


init should be row major.

◆ Matrix2x3() [5/5]

G3D::Matrix2x3::Matrix2x3 ( )

Member Function Documentation

◆ operator const float *()

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

◆ operator float *()

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

Returns a row-major pointer.

◆ operator!=()

bool G3D::Matrix2x3::operator!= ( const Matrix2x3 other) const

◆ operator*()

class Vector2 G3D::Matrix2x3::operator* ( const class Vector3 v) const

◆ operator==()

bool G3D::Matrix2x3::operator== ( const Matrix2x3 other) const

◆ operator[]() [1/2]

float* G3D::Matrix2x3::operator[] ( int  r)
inline

◆ operator[]() [2/2]

const float* G3D::Matrix2x3::operator[] ( int  r) const
inline

◆ toString()

String G3D::Matrix2x3::toString ( ) const

◆ zero()

static const Matrix2x3& G3D::Matrix2x3::zero ( )
inlinestatic

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