MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
TSLGeographicCoord Class Reference
Inheritance diagram for TSLGeographicCoord:

Detailed Description

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)
 
- Public Member Functions inherited from TSLLatLongCoord
 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
 
TSLLatLongCoordoperator+= (const TSLLatLongCoord &delta)
 
TSLLatLongCoordoperator-= (const TSLLatLongCoord &delta)
 
TSLLatLongCoordoperator= (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
 
- Protected Attributes inherited from TSLLatLongCoord
double m_latitude
 
double m_longitude
 

Additional Inherited Members

- Static Public Member Functions inherited from TSLLatLongCoord
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)
 

Constructor & Destructor Documentation

◆ TSLGeographicCoord() [1/2]

TSLGeographicCoord::TSLGeographicCoord ( )
inline

◆ TSLGeographicCoord() [2/2]

TSLGeographicCoord::TSLGeographicCoord ( double lat,
double lon,
double _height = 0.0 )
inline

Member Function Documentation

◆ height() [1/2]

double TSLGeographicCoord::height ( )
inline

Returns height in meters.

◆ height() [2/2]

void TSLGeographicCoord::height ( double _height)
inline

◆ set()

void TSLGeographicCoord::set ( double _latitude,
double _longitude,
double _height )
inline

Member Data Documentation

◆ m_height

double TSLGeographicCoord::m_height
protected

Data Members for Associations Data Members for Class Attributes height in meters