![]() |
MapLink Pro 11.2
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|

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