MeshLib
 
Loading...
Searching...
No Matches
Matrix3f Class Reference

arbitrary 3x3 matrix More...

#include <MRMatrix3.h>

Public Member Functions

 Matrix3f ()
 creates the identity matrix
 
 Matrix3f (Vector3f^ x, Vector3f^ y, Vector3f^ z)
 creates matrix with given rows
 
 ~Matrix3f ()
 
void set (Vector3f^ value)
 
void set (Vector3f^ value)
 
void set (Vector3f^ value)
 
MR::Matrix3fmat ()
 

Static Public Member Functions

static Matrix3f Zero ()
 creates zero matrix
 
static Matrix3f Rotation (Vector3f^ axis, float angle)
 creates rotation matrix around given axis with given angle
 
static Matrix3f Rotation (Vector3f^ from, Vector3f^ to)
 creates rotation matrix from one vector to another
 
static Matrix3f operator* (Matrix3f^ a, Matrix3f^ b)
 
static Vector3f operator* (Matrix3f^ a, Vector3f^ b)
 
static bool operator== (Matrix3f^ a, Matrix3f^ b)
 
static bool operator!= (Matrix3f^ a, Matrix3f^ b)
 
static Matrix3f operator- (Matrix3f^ a, Matrix3f^ b)
 
static Matrix3f operator+ (Matrix3f^ a, Matrix3f^ b)
 

Public Attributes

property Vector3f X { Vector3f^ get()
 first row
 
property Vector3f Y { Vector3f^ get()
 second row
 
property Vector3f Z { Vector3f^ get()
 third row
 
internal : Matrix3f( MR::Matrix3f* mat )
 

Detailed Description

arbitrary 3x3 matrix

Constructor & Destructor Documentation

◆ Matrix3f() [1/2]

Matrix3f::Matrix3f ( )

creates the identity matrix

◆ Matrix3f() [2/2]

Matrix3f::Matrix3f ( Vector3f^ x,
Vector3f^ y,
Vector3f^ z )

creates matrix with given rows

◆ ~Matrix3f()

Matrix3f::~Matrix3f ( )

Member Function Documentation

◆ mat()

MR::Matrix3f * Matrix3f::mat ( )
inline

◆ operator!=()

static bool Matrix3f::operator!= ( Matrix3f^ a,
Matrix3f^ b )
static

◆ operator*() [1/2]

static Matrix3f Matrix3f::operator* ( Matrix3f^ a,
Matrix3f^ b )
static

◆ operator*() [2/2]

static Vector3f Matrix3f::operator* ( Matrix3f^ a,
Vector3f^ b )
static

◆ operator+()

static Matrix3f Matrix3f::operator+ ( Matrix3f^ a,
Matrix3f^ b )
static

◆ operator-()

static Matrix3f Matrix3f::operator- ( Matrix3f^ a,
Matrix3f^ b )
static

◆ operator==()

static bool Matrix3f::operator== ( Matrix3f^ a,
Matrix3f^ b )
static

◆ Rotation() [1/2]

static Matrix3f Matrix3f::Rotation ( Vector3f^ axis,
float angle )
static

creates rotation matrix around given axis with given angle

◆ Rotation() [2/2]

static Matrix3f Matrix3f::Rotation ( Vector3f^ from,
Vector3f^ to )
static

creates rotation matrix from one vector to another

◆ set() [1/3]

void Matrix3f::set ( Vector3f^ value)

◆ set() [2/3]

void Matrix3f::set ( Vector3f^ value)

◆ set() [3/3]

void Matrix3f::set ( Vector3f^ value)

◆ Zero()

static Matrix3f Matrix3f::Zero ( )
static

creates zero matrix

Member Data Documentation

◆ __pad0__

internal Matrix3f::__pad0__

◆ X

property Vector3f Matrix3f::X { Vector3f^ get()

first row

◆ Y

property Vector3f Matrix3f::Y { Vector3f^ get()

second row

◆ Z

property Vector3f Matrix3f::Z { Vector3f^ get()

third row


The documentation for this class was generated from the following file: