CBlueUI  
C++ 跨平台跨框架的数据可视化工具
载入中...
搜索中...
未找到
MatFloat3x3类 参考

Public 成员函数

 MatFloat3x3 ()
 MatFloat3x3 (const VecFloat3 &r1, const VecFloat3 &r2, const VecFloat3 &r3)
 ~MatFloat3x3 ()
const MatFloat3x3operator= (const MatFloat3x3 &mtx)
MatFloat3x3 operator+ (const MatFloat3x3 &mtx) const
MatFloat3x3 operator- (const MatFloat3x3 &mtx) const
const MatFloat3x3operator+= (const MatFloat3x3 &mtx)
const MatFloat3x3operator-= (const MatFloat3x3 &mtx)
MatFloat3x3 operator* (const MatFloat3x3 &mtx) const
const MatFloat3x3operator*= (const MatFloat3x3 &mtx)
bool operator== (const MatFloat3x3 &mtx) const
bool operator!= (const MatFloat3x3 &mtx) const
VecFloat3operator[] (int pos)
const VecFloat3operator[] (int pos) const
double Determinant () const
 矩阵的行列式值。 (只有方阵,才有行列式值) | a b c | | d e f | = a*(e*i-f*h)-b*(d*i-f*g)+c*(d*h-e*g) | g h i |
MatFloat3x3 Transpose () const
MatFloat3x3 Inverse () const
void Transform (VecFloat3 &vec)
 转换vec向量,并将结果输出到vec中 [x1, x2, Tx] [ x ] [y1, y2, Ty] * [ y ] [ 0, 0, 1] [ 1 ]

静态 Public 成员函数

static MatFloat3x3 ScaleMatrix (float s0, float s1)
static MatFloat3x3 TranslationMatrix (float d0, float d1)
static MatFloat3x3 ShearXMatrix (float sx)
static MatFloat3x3 ShearYMatrix (float sy)
static MatFloat3x3 Rotate (float angle)
static MatFloat3x3 RotateOnPosition (float angle, float rx, float ry)

Public 属性

VecFloat3 r [3]

构造及析构函数说明

◆ MatFloat3x3() [1/2]

MatFloat3x3::MatFloat3x3 ( )

◆ MatFloat3x3() [2/2]

MatFloat3x3::MatFloat3x3 ( const VecFloat3 & r1,
const VecFloat3 & r2,
const VecFloat3 & r3 )

◆ ~MatFloat3x3()

MatFloat3x3::~MatFloat3x3 ( )

成员函数说明

◆ Determinant()

double MatFloat3x3::Determinant ( ) const

矩阵的行列式值。 (只有方阵,才有行列式值) | a b c | | d e f | = a*(e*i-f*h)-b*(d*i-f*g)+c*(d*h-e*g) | g h i |

返回
double

◆ Inverse()

MatFloat3x3 MatFloat3x3::Inverse ( ) const

◆ operator!=()

bool MatFloat3x3::operator!= ( const MatFloat3x3 & mtx) const

◆ operator*()

MatFloat3x3 MatFloat3x3::operator* ( const MatFloat3x3 & mtx) const

◆ operator*=()

const MatFloat3x3 & MatFloat3x3::operator*= ( const MatFloat3x3 & mtx)

◆ operator+()

MatFloat3x3 MatFloat3x3::operator+ ( const MatFloat3x3 & mtx) const

◆ operator+=()

const MatFloat3x3 & MatFloat3x3::operator+= ( const MatFloat3x3 & mtx)

◆ operator-()

MatFloat3x3 MatFloat3x3::operator- ( const MatFloat3x3 & mtx) const

◆ operator-=()

const MatFloat3x3 & MatFloat3x3::operator-= ( const MatFloat3x3 & mtx)

◆ operator=()

const MatFloat3x3 & MatFloat3x3::operator= ( const MatFloat3x3 & mtx)

◆ operator==()

bool MatFloat3x3::operator== ( const MatFloat3x3 & mtx) const

◆ operator[]() [1/2]

VecFloat3 & MatFloat3x3::operator[] ( int pos)

◆ operator[]() [2/2]

const VecFloat3 & MatFloat3x3::operator[] ( int pos) const

◆ Rotate()

MatFloat3x3 MatFloat3x3::Rotate ( float angle)
static

◆ RotateOnPosition()

MatFloat3x3 MatFloat3x3::RotateOnPosition ( float angle,
float rx,
float ry )
static

◆ ScaleMatrix()

MatFloat3x3 MatFloat3x3::ScaleMatrix ( float s0,
float s1 )
static

◆ ShearXMatrix()

MatFloat3x3 MatFloat3x3::ShearXMatrix ( float sx)
static

◆ ShearYMatrix()

MatFloat3x3 MatFloat3x3::ShearYMatrix ( float sy)
static

◆ Transform()

void MatFloat3x3::Transform ( VecFloat3 & vec)

转换vec向量,并将结果输出到vec中 [x1, x2, Tx] [ x ] [y1, y2, Ty] * [ y ] [ 0, 0, 1] [ 1 ]

◆ TranslationMatrix()

MatFloat3x3 MatFloat3x3::TranslationMatrix ( float d0,
float d1 )
static

◆ Transpose()

MatFloat3x3 MatFloat3x3::Transpose ( ) const

类成员变量说明

◆ r

VecFloat3 MatFloat3x3::r[3]
鄂公网安备42018502007752 鄂ICP备2024082886
Copyright © 2026 · CBlueStudio 版权所有