![]() |
MapLink Pro 11.2
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
Vxworks defines a define called m_flags... This class represents a single coordinate.
It allows changes to the coordinate, through its latitude, longitude and altitude, as well as provides relational operators for coordinates.
Public Member Functions | |
| TSL3DCoord () | |
| TSL3DCoord (Double lat, Double lon, Double alt, TSL3DAltitudeType altType=TSL3DAltitudeTypeMeanSeaLevel) | |
| double | altitude () const |
| void | altitude (double altitude) |
| const TSL3DAltitudeType | altitudeType () const |
| void | altitudeType (TSL3DAltitudeType altitudeType) |
| double | latitude () const |
| void | latitude (double latitude) |
| double | longitude () const |
| void | longitude (double longitude) |
| TSL3DCoord | operator+ (const TSL3DCoord &another3DCoord) const |
| TSL3DCoord | operator- (const TSL3DCoord &another3DCoord) const |
| TSL3DCoord & | operator= (const TSL3DCoord &another3DCoord) |
| bool | operator> (const TSL3DCoord &another3DCoord) const |
| bool | operator< (const TSL3DCoord &another3DCoord) const |
| bool | operator== (const TSL3DCoord &another3DCoord) const |
| bool | operator!= (const TSL3DCoord &another3DCoord) const |
| void | translate (Double dLat, Double dLon, Double dAlt) |
| TSL3DCoord (TSL3DCoordType scaledLat, TSL3DCoordType scaledLon, TSL3DAltitudeCoordType scaledAlt) | |
| TSL3DCoordType | scaledLat () const |
| void | scaledLat (TSL3DCoordType scaledLat) |
| TSL3DCoordType | scaledLon () const |
| void | scaledLon (TSL3DCoordType scaledLon) |
| TSL3DAltitudeCoordType | scaledAlt () const |
| void | scaledAlt (TSL3DAltitudeCoordType scaledAlt) |
|
inline |
|
inline |
Constructor by argument of a TSL3DCoord class object.
| lat | The latitude |
| lon | The longitude |
| alt | The altitude |
| altType | the altitude type (default TSL3DAltitudeTypeMeanSeaLevel) |
|
inline |
Internal methods - subject to change.
|
inline |
Query the altitude
|
inline |
Set the altitude
| altitude | New value |
|
inline |
|
inline |
Sets the altitude type for a coordinate.
| altitudeType | altitudeType to set |
|
inline |
Query the latitude
|
inline |
Set the latitude. If the new latitude value is greater then 90 degrees or less then -90 degrees, then the value will be wrapped around the earth and will also cause the longitude to change appropriately.
| latitude | New value |
|
inline |
Query the longitude.
|
inline |
Set the longitude. If the new longitude value is greater then 180 degrees or less then -180 degrees, then the value will be wrapped around the earth.
| longitude | New value |
|
inline |
Compares two coordinates.
Note: The altitude type is ignored.
| another3DCoord | Source for comparison. |
|
inline |
Adds two coordinates.
Translates the coordinate by the specified delta coordinate.
| another3DCoord | Delta coordinate. |
|
inline |
Subtracts two coordinates.
Translates the coordinate by the negative of the specified delta coordinate.
| another3DCoord | Delta coordinate. |
|
inline |
Less than operator.
Performs a comparison between two coordinates.
Note: The altitude type is ignored.
| another3DCoord | Source for comparison. |
|
inline |
Assignment operator.
Assigns the lat, long and alt values of the argument coordinate to those of this coordinate.
| another3DCoord | Source for new value. |
|
inline |
Compares two coordinates.
Note: The altitude type is ignored.
| another3DCoord | Source for comparison. |
|
inline |
Greater than operator.
Performs a comparison between two coordinates.
Note: The altitude type is ignored.
| another3DCoord | Source comparison. |
|
inline |
Query the scaled altitude value.
|
inline |
Set the scaled altitude value.
|
inline |
Query the scaled latitude value.
|
inline |
Set the scaled latitude value.
|
inline |
Query the scaled longitude value.
|
inline |
Set the scaled longitude value.
|
inline |
Translates the point by the delta values passed in.
| dLat | latitude value to translate by (degrees). |
| dLon | longitude value to translate by (degrees). |
| dAlt | height value to translate by (meters). |