![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
A set of rotation angles
This class is used to specify rotations within the MapLink 3D SDK. Each component of this vector specifies the rotation around an axis in degrees, clockwise.
In some cases the axis will represent the global x,y,z axis, and in others may represent a local reference which is affected by consecutive rotations.
Public Member Functions | |
Rotation () | |
Constructor. | |
Rotation (double x, double y, double z) | |
Constructor. | |
Rotation (const Rotation &other) | |
Copy Constructor. | |
Rotation (const Vec3 &other) | |
Copy Constructor. | |
virtual | ~Rotation () |
Destructor. | |
bool | operator== (const Rotation &v) const |
Equality operator. | |
bool | operator!= (const Rotation &v) const |
Inequality operator. | |
const Rotation | operator* (const double &v) const |
Multiply the vector by a scalar value. | |
Rotation | operator*= (const double &v) |
Multiply the vector by a scalar value. | |
const Rotation | operator/ (const double &v) const |
Divide the vector by a scalar value. | |
Rotation | operator/= (const double &v) |
Divide the vector by a scalar value. | |
const Rotation | operator+ (const Rotation &v) const |
Addition operator. | |
Rotation | operator+= (const Rotation &v) |
Addition operator. | |
const Rotation | operator- (const Rotation &v) const |
Subtraction operator. | |
Rotation | operator-= (const Rotation &v) |
Subtraction operator. | |
![]() | |
virtual | ~Vec3 () |
Destructor. | |
double | x () const |
Get the x component of the vector. | |
double | y () const |
Get the y component of the vector. | |
double | z () const |
Get the z component of the vector. | |
void | x (double v) |
Set the x component of the vector. | |
void | y (double v) |
Set the y component of the vector. | |
void | z (double v) |
Set the z component of the vector. | |
double | length () const |
Get the length of the vector. | |
void | normalise () |
Additional Inherited Members | |
![]() | |
Vec3 () | |
Constructor. | |
Vec3 (double x, double y, double z) | |
Constructor. | |
Vec3 (const Vec3 &other) | |
Copy Constructor. | |
bool | operator== (const Vec3 &v) const |
Equality operator. | |
bool | operator!= (const Vec3 &v) const |
Inequality operator. | |
bool | operator< (const Vec3 &v) const |
Less than operator. | |
const Vec3 | operator* (const double &v) const |
Multiply the vector by a scalar value. | |
Vec3 | operator*= (const double &v) |
Multiply the vector by a scalar value. | |
const Vec3 | operator/ (const double &v) const |
Divide the vector by a scalar value. | |
Vec3 | operator/= (const double &v) |
Divide the vector by a scalar value. | |
const Vec3 | operator+ (const Vec3 &v) const |
Addition operator. | |
Vec3 | operator+= (const Vec3 &v) |
Addition operator. | |
const Vec3 | operator- (const Vec3 &v) const |
Subtraction operator. | |
Vec3 | operator-= (const Vec3 &v) |
Subtraction operator. | |
double | operator* (const Vec3 &v) const |
const Vec3 | operator^ (const Vec3 &v) const |
![]() | |
double | m_v [3] |
envitia::maplink::earth::Rotation::Rotation | ( | ) |
Constructor.
envitia::maplink::earth::Rotation::Rotation | ( | double | x, |
double | y, | ||
double | z ) |
Constructor.
envitia::maplink::earth::Rotation::Rotation | ( | const Rotation & | other | ) |
Copy Constructor.
envitia::maplink::earth::Rotation::Rotation | ( | const Vec3 & | other | ) |
Copy Constructor.
|
virtual |
Destructor.
bool envitia::maplink::earth::Rotation::operator!= | ( | const Rotation & | v | ) | const |
Inequality operator.
const Rotation envitia::maplink::earth::Rotation::operator* | ( | const double & | v | ) | const |
Multiply the vector by a scalar value.
Rotation envitia::maplink::earth::Rotation::operator*= | ( | const double & | v | ) |
Multiply the vector by a scalar value.
Addition operator.
Subtraction operator.
const Rotation envitia::maplink::earth::Rotation::operator/ | ( | const double & | v | ) | const |
Divide the vector by a scalar value.
Rotation envitia::maplink::earth::Rotation::operator/= | ( | const double & | v | ) |
Divide the vector by a scalar value.
bool envitia::maplink::earth::Rotation::operator== | ( | const Rotation & | v | ) | const |
Equality operator.