TODO : public ASpaceObject. More...
#include <Rotation.hpp>
Public Member Functions | |
Rotation (unsigned int ndim=2) | |
Rotation (const Rotation &r) | |
Rotation & | operator= (const Rotation &r) |
virtual | ~Rotation () |
unsigned int | getNDim () const |
bool | isRotated () const |
const MatrixSquareGeneral & | getMatrixDirect () const |
const MatrixSquareGeneral & | getMatrixInverse () const |
const VectorDouble & | getAngles () const |
double | getAngle (int idim) const |
void | resetFromSpaceDimension (unsigned int ndim) |
virtual String | toString (const AStringFormat *strfmt=nullptr) const override |
int | setMatrixDirect (const MatrixSquareGeneral &rotmat) |
int | setMatrixDirectVec (const VectorDouble &rotmat) |
int | setAngles (const VectorDouble &angles) |
void | setIdentity () |
void | rotateDirect (const VectorDouble &inv, VectorDouble &outv) const |
void | rotateInverse (const VectorDouble &inv, VectorDouble &outv) const |
bool | isIdentity () const |
bool | isSame (const Rotation &rot) const |
VectorDouble | getMatrixDirectVec () const |
VectorDouble | getMatrixInverseVec () const |
double | getMatrixDirect (int idim, int jdim) const |
double | getMatrixInverse (int idim, int jdim) const |
Public Member Functions inherited from AStringable | |
AStringable () | |
AStringable (const AStringable &r) | |
AStringable & | operator= (const AStringable &r) |
virtual | ~AStringable () |
virtual void | display (const AStringFormat *strfmt=nullptr) const final |
virtual void | display (int level) const final |
TODO : public ASpaceObject.
Rotation::Rotation | ( | unsigned int | ndim = 2 | ) |
Rotation::Rotation | ( | const Rotation & | r | ) |
|
virtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
bool Rotation::isSame | ( | const Rotation & | rot | ) | const |
void Rotation::resetFromSpaceDimension | ( | unsigned int | ndim | ) |
void Rotation::rotateDirect | ( | const VectorDouble & | inv, |
VectorDouble & | outv | ||
) | const |
void Rotation::rotateInverse | ( | const VectorDouble & | inv, |
VectorDouble & | outv | ||
) | const |
int Rotation::setAngles | ( | const VectorDouble & | angles | ) |
void Rotation::setIdentity | ( | ) |
int Rotation::setMatrixDirect | ( | const MatrixSquareGeneral & | rotmat | ) |
int Rotation::setMatrixDirectVec | ( | const VectorDouble & | rotmat | ) |
|
overridevirtual |
Reimplemented from AStringable.