![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
This class represents a latitude, longitude and height point.
The latitude (+-90) and longitude (+-180) values are specified as degrees.
The height is specified in meters.
Public Member Functions | |
TSLGeographicCoord () | |
TSLGeographicCoord (double lat, double lon, double _height=0.0) | |
double | height () |
void | height (double _height) |
void | set (double _latitude, double _longitude, double _height) |
![]() | |
TSLLatLongCoord () | |
TSLLatLongCoord (double lat, double lon) | |
double | latitude () const |
void | latitude (double latitude) |
double | longitude () const |
void | longitude (double longitude) |
TSLLatLongCoord | operator+ (const TSLLatLongCoord &anotherLatLongCoord) const |
TSLLatLongCoord | operator- (const TSLLatLongCoord &anotherLatLongCoord) const |
TSLLatLongCoord & | operator+= (const TSLLatLongCoord &delta) |
TSLLatLongCoord & | operator-= (const TSLLatLongCoord &delta) |
TSLLatLongCoord & | operator= (const TSLLatLongCoord &anotherLatLongCoord) |
bool | operator> (const TSLLatLongCoord &anotherLatLongCoord) const |
bool | operator< (const TSLLatLongCoord &anotherLatLongCoord) const |
bool | operator== (const TSLLatLongCoord &anotherLatLongCoord) const |
bool | operator!= (const TSLLatLongCoord &anotherLatLongCoord) const |
double | distance (const TSLLatLongCoord &anotherCoord) const |
double | squareDistance (const TSLLatLongCoord &anotherCoord) const |
void | translate (double dlat, double dlon) |
void | translate (const TSLLatLongCoord &delta) |
void | setVal (double lat, double lon) |
Protected Attributes | |
double | m_height |
![]() | |
double | m_latitude |
double | m_longitude |
Additional Inherited Members | |
![]() | |
static void | clampByWrapping (const double latIn, const double lonIn, double &latOut, double &lonOut) |
static void | clampByWrapping (double &lat, double &lon) |
static TSLLatLongCoord | createWrapped (double lat, double lon) |
|
inline |
Class TSLGeographicCoord
|
inline |
|
inline |
Returns height in meters.
|
inline |
|
inline |
|
protected |
Data Members for Associations Data Members for Class Attributes height in meters