![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
A position in geodetic (ENU) space
This class is used to specify a position in East-North-Up (ENU) space
Public Member Functions | |
GeodeticPoint () | |
Constructor. | |
GeodeticPoint (double x, double y, double z) | |
Constructor. | |
GeodeticPoint (const GeodeticPoint &other) | |
Copy Constructor. | |
GeodeticPoint (const Vec3 &other) | |
Copy Constructor. | |
virtual | ~GeodeticPoint () |
Destructor. | |
GeodeticDirection | toDirection () const |
GeodeticDirection | toDirection (const GeodeticPoint &origin) const |
bool | operator== (const GeodeticPoint &v) const |
Equality operator. | |
bool | operator!= (const GeodeticPoint &v) const |
Inequality operator. | |
bool | operator< (const Vec3 &v) const |
Less than operator. | |
const GeodeticPoint | operator* (const double &v) const |
Multiply the vector by a scalar value. | |
GeodeticPoint | operator*= (const double &v) |
Multiply the vector by a scalar value. | |
const GeodeticPoint | operator/ (const double &v) const |
Divide the vector by a scalar value. | |
GeodeticPoint | operator/= (const double &v) |
Divide the vector by a scalar value. | |
const GeodeticPoint | operator+ (const GeodeticPoint &v) const |
Addition operator. | |
GeodeticPoint | operator+= (const GeodeticPoint &v) |
Addition operator. | |
const GeodeticPoint | operator- (const GeodeticPoint &v) const |
Subtraction operator. | |
GeodeticPoint | operator-= (const GeodeticPoint &v) |
Subtraction operator. | |
double | operator* (const GeodeticPoint &v) const |
const GeodeticPoint | operator^ (const GeodeticPoint &v) const |
![]() | |
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::GeodeticPoint::GeodeticPoint | ( | ) |
Constructor.
envitia::maplink::earth::GeodeticPoint::GeodeticPoint | ( | double | x, |
double | y, | ||
double | z ) |
Constructor.
envitia::maplink::earth::GeodeticPoint::GeodeticPoint | ( | const GeodeticPoint & | other | ) |
Copy Constructor.
envitia::maplink::earth::GeodeticPoint::GeodeticPoint | ( | const Vec3 & | other | ) |
Copy Constructor.
|
virtual |
Destructor.
bool envitia::maplink::earth::GeodeticPoint::operator!= | ( | const GeodeticPoint & | v | ) | const |
Inequality operator.
const GeodeticPoint envitia::maplink::earth::GeodeticPoint::operator* | ( | const double & | v | ) | const |
Multiply the vector by a scalar value.
double envitia::maplink::earth::GeodeticPoint::operator* | ( | const GeodeticPoint & | v | ) | const |
Calculate the dot product with another vector
v | The vector to perform a dot product against |
GeodeticPoint envitia::maplink::earth::GeodeticPoint::operator*= | ( | const double & | v | ) |
Multiply the vector by a scalar value.
const GeodeticPoint envitia::maplink::earth::GeodeticPoint::operator+ | ( | const GeodeticPoint & | v | ) | const |
Addition operator.
GeodeticPoint envitia::maplink::earth::GeodeticPoint::operator+= | ( | const GeodeticPoint & | v | ) |
Addition operator.
const GeodeticPoint envitia::maplink::earth::GeodeticPoint::operator- | ( | const GeodeticPoint & | v | ) | const |
Subtraction operator.
GeodeticPoint envitia::maplink::earth::GeodeticPoint::operator-= | ( | const GeodeticPoint & | v | ) |
Subtraction operator.
const GeodeticPoint envitia::maplink::earth::GeodeticPoint::operator/ | ( | const double & | v | ) | const |
Divide the vector by a scalar value.
GeodeticPoint envitia::maplink::earth::GeodeticPoint::operator/= | ( | const double & | v | ) |
Divide the vector by a scalar value.
bool envitia::maplink::earth::GeodeticPoint::operator< | ( | const Vec3 & | v | ) | const |
Less than operator.
bool envitia::maplink::earth::GeodeticPoint::operator== | ( | const GeodeticPoint & | v | ) | const |
Equality operator.
const GeodeticPoint envitia::maplink::earth::GeodeticPoint::operator^ | ( | const GeodeticPoint & | v | ) | const |
Calculate the cross product with another vector
v | The vector to perform a cross product against |
GeodeticDirection envitia::maplink::earth::GeodeticPoint::toDirection | ( | ) | const |
Convert to a direction
The direction will be calculated as the direction from the origin to this point.
GeodeticDirection envitia::maplink::earth::GeodeticPoint::toDirection | ( | const GeodeticPoint & | origin | ) | const |
Convert to a direction
The direction will be calculated as the direction from the origin to this point.
origin | The origin of the direction |