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

Double-precision 4x4 matrix. More...

Public Member Functions

 Matrix4float64 (const Matrix4 &m)
 
 Matrix4float64 ()
 all zeros More...
 
 Matrix4float64 (double r1c1, double r1c2, double r1c3, double r1c4, double r2c1, double r2c2, double r2c3, double r2c4, double r3c1, double r3c2, double r3c3, double r3c4, double r4c1, double r4c2, double r4c3, double r4c4)
 
 operator const double * () const
 
 operator double * ()
 
bool operator!= (const Matrix4float64 &other) const
 
Vector4 operator* (const Vector4 &vector) const
 
bool operator== (const Matrix4float64 &other) const
 
double * operator[] (int r)
 
const double * operator[] (int r) const
 

Static Public Member Functions

static const Matrix4float64identity ()
 
static Matrix4float64 perspectiveProjection (double left, double right, double bottom, double top, double nearval, double farval, float upDirection=-1.0f)
 
static const Matrix4float64zero ()
 

Detailed Description

Double-precision 4x4 matrix.

Constructor & Destructor Documentation

◆ Matrix4float64() [1/3]

G3D::Matrix4float64::Matrix4float64 ( const Matrix4 m)
explicit

◆ Matrix4float64() [2/3]

G3D::Matrix4float64::Matrix4float64 ( )

all zeros

◆ Matrix4float64() [3/3]

G3D::Matrix4float64::Matrix4float64 ( double  r1c1,
double  r1c2,
double  r1c3,
double  r1c4,
double  r2c1,
double  r2c2,
double  r2c3,
double  r2c4,
double  r3c1,
double  r3c2,
double  r3c3,
double  r3c4,
double  r4c1,
double  r4c2,
double  r4c3,
double  r4c4 
)

Member Function Documentation

◆ identity()

static const Matrix4float64& G3D::Matrix4float64::identity ( )
static

◆ operator const double *()

G3D::Matrix4float64::operator const double * ( ) const
inline

◆ operator double *()

G3D::Matrix4float64::operator double * ( )
inline

◆ operator!=()

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

◆ operator*()

Vector4 G3D::Matrix4float64::operator* ( const Vector4 vector) const

◆ operator==()

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

◆ operator[]() [1/2]

double* G3D::Matrix4float64::operator[] ( int  r)
inline

◆ operator[]() [2/2]

const double* G3D::Matrix4float64::operator[] ( int  r) const
inline

◆ perspectiveProjection()

static Matrix4float64 G3D::Matrix4float64::perspectiveProjection ( double  left,
double  right,
double  bottom,
double  top,
double  nearval,
double  farval,
float  upDirection = -1.0f 
)
static

◆ zero()

static const Matrix4float64& G3D::Matrix4float64::zero ( )
static

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