gstlearn
0.2.1
Geostatistics & Machine Learning toolbox
|
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 | setMatrixDirectByVector (const VectorDouble &rotmat) |
int | setMatrixDirectOldStyle (const double *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 | setDirection (int ndim, const VectorDouble &angles=VectorDouble(), double radius=1.) const |
VectorDouble | getMatrixDirectByVector () const |
VectorDouble | getMatrixInverseByVector () const |
![]() | |
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 |
Private Member Functions | |
void | _recopy (const Rotation &r) |
void | _checkRot () |
void | _directToInverse () |
void | _inverseToDirect () |
Private Attributes | |
unsigned int | _nDim |
bool | _flagRot |
VectorDouble | _angles |
MatrixSquareGeneral | _rotMat |
MatrixSquareGeneral | _rotInv |
TODO : public ASpaceObject.
Rotation::Rotation | ( | unsigned int | ndim = 2 | ) |
Rotation::Rotation | ( | const Rotation & | r | ) |
|
virtual |
|
private |
|
private |
|
private |
|
private |
|
inline |
|
inline |
|
inline |
VectorDouble Rotation::getMatrixDirectByVector | ( | ) | const |
|
inline |
VectorDouble Rotation::getMatrixInverseByVector | ( | ) | const |
|
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 | ) |
VectorDouble Rotation::setDirection | ( | int | ndim, |
const VectorDouble & | angles = VectorDouble() , |
||
double | radius = 1. |
||
) | const |
void Rotation::setIdentity | ( | ) |
int Rotation::setMatrixDirect | ( | const MatrixSquareGeneral & | rotmat | ) |
int Rotation::setMatrixDirectByVector | ( | const VectorDouble & | rotmat | ) |
int Rotation::setMatrixDirectOldStyle | ( | const double * | rotmat | ) |
|
overridevirtual |
Reimplemented from AStringable.
|
private |
|
private |
|
private |
|
private |
|
private |