argos::CRotationMatrix2 Class Reference

#include <rotationmatrix2.h>

Inheritance diagram for argos::CRotationMatrix2:
Collaboration diagram for argos::CRotationMatrix2:

Public Member Functions

 CRotationMatrix2 ()
 
 CRotationMatrix2 (const CMatrix< 2, 2 > &c_matrix)
 
 CRotationMatrix2 (const CRadians &c_angle)
 
 CRotationMatrix2 (Real f_value0, Real f_value1, Real f_value2, Real f_value3)
 
void SetFromMatrix (const CMatrix< 2, 2 > &c_matrix)
 
void SetFromAngle (const CRadians &c_angle)
 
void SetFromValues (Real f_value0, Real f_value1, Real f_value2, Real f_value3)
 
CVector2 operator* (const CVector2 &c_vector) const
 
- Public Member Functions inherited from argos::CSquareMatrix< 2 >
 CSquareMatrix ()
 
 CSquareMatrix (const CMatrix< DIM, DIM > &c_other)
 
void SetIdentityMatrix ()
 
bool IsIdentityMatrix ()
 
Real GetDeterminant () const
 
Real GetDeterminant () const
 
Real GetDeterminant () const
 
Real GetDeterminant () const
 
Real GetDeterminant () const
 
CSquareMatrix< DIM > GetCofactorMatrix () const
 Find the cofactor matrix. More...
 
CSquareMatrix< 2 > GetCofactorMatrix () const
 
CSquareMatrix< 2 > GetCofactorMatrix () const
 
CSquareMatrix< DIM > GetTransposed () const
 
CSquareMatrix< DIM > GetInverse () const
 
- Public Member Functions inherited from argos::CMatrix< DIM, DIM >
 CMatrix ()
 
 CMatrix (const Real *pf_values)
 
 CMatrix (const CMatrix< ROWS, COLS > &c_matrix)
 
CMatrix< ROWS, COLS > & operator= (const CMatrix< ROWS, COLS > &c_matrix)
 
Realoperator() (UInt32 un_row, UInt32 un_col)
 
Real operator() (UInt32 un_row, UInt32 un_col) const
 
Real operator() (UInt32 un_idx) const
 
Realoperator() (UInt32 un_idx)
 
void Set (const Real *f_values)
 
void SetZero ()
 
CMatrix< COLS, ROWS > GetTransposed () const
 
void GetSubMatrix (CMatrix< SMROWS, SMCOLS > &c_sub_matrix, UInt32 un_offset_row, UInt32 un_offset_col) const
 
bool operator== (const CMatrix< ROWS, COLS > &c_matrix) const
 
CMatrix< ROWS, COLS > & operator+= (const CMatrix< ROWS, COLS > &c_matrix)
 
CMatrix< ROWS, COLS > & operator-= (const CMatrix< ROWS, COLS > &c_matrix)
 
CMatrix< ROWS, COLS > & operator*= (Real f_scale)
 
CMatrix< ROWS, COLS > & operator*= (const CMatrix< COLS, COLS > &c_matrix)
 
CMatrix< ROWS, COLS > operator+ (const CMatrix< ROWS, COLS > &c_matrix) const
 
CMatrix< ROWS, COLS > operator- (const CMatrix< ROWS, COLS > &c_matrix) const
 
CMatrix< ROWS, COLS > operator- () const
 
CMatrix< ROWS, OTRCOLS > operator* (const CMatrix< COLS, OTRCOLS > &c_matrix) const
 

Additional Inherited Members

- Protected Attributes inherited from argos::CMatrix< DIM, DIM >
Real m_pfValues [ROWS *COLS]
 

Detailed Description

Definition at line 21 of file rotationmatrix2.h.

Constructor & Destructor Documentation

◆ CRotationMatrix2() [1/4]

argos::CRotationMatrix2::CRotationMatrix2 ( )
inline

Definition at line 26 of file rotationmatrix2.h.

◆ CRotationMatrix2() [2/4]

argos::CRotationMatrix2::CRotationMatrix2 ( const CMatrix< 2, 2 > &  c_matrix)
inline

Definition at line 30 of file rotationmatrix2.h.

◆ CRotationMatrix2() [3/4]

argos::CRotationMatrix2::CRotationMatrix2 ( const CRadians c_angle)
inline

Definition at line 34 of file rotationmatrix2.h.

◆ CRotationMatrix2() [4/4]

argos::CRotationMatrix2::CRotationMatrix2 ( Real  f_value0,
Real  f_value1,
Real  f_value2,
Real  f_value3 
)
inline

Definition at line 38 of file rotationmatrix2.h.

Member Function Documentation

◆ operator*()

CVector2 argos::CRotationMatrix2::operator* ( const CVector2 c_vector) const
inline

Definition at line 51 of file rotationmatrix2.h.

◆ SetFromAngle()

void argos::CRotationMatrix2::SetFromAngle ( const CRadians c_angle)

Definition at line 18 of file rotationmatrix2.cpp.

◆ SetFromMatrix()

void argos::CRotationMatrix2::SetFromMatrix ( const CMatrix< 2, 2 > &  c_matrix)

Definition at line 31 of file rotationmatrix2.cpp.

◆ SetFromValues()

void argos::CRotationMatrix2::SetFromValues ( Real  f_value0,
Real  f_value1,
Real  f_value2,
Real  f_value3 
)

Definition at line 41 of file rotationmatrix2.cpp.