Class representing a geodetic location. More...
#include <SGGeod.hxx>
Public Member Functions | |
| SGGeod (void) | |
| Default constructor, initializes the instance to lat = lon = elev = 0. | |
| double | getLongitudeRad (void) const |
| Return the geodetic longitude in radians. | |
| void | setLongitudeRad (double lon) |
| Set the geodetic longitude from the argument given in radians. | |
| double | getLongitudeDeg (void) const |
| Return the geodetic longitude in degrees. | |
| void | setLongitudeDeg (double lon) |
| Set the geodetic longitude from the argument given in degrees. | |
| double | getLatitudeRad (void) const |
| Return the geodetic latitude in radians. | |
| void | setLatitudeRad (double lat) |
| Set the geodetic latitude from the argument given in radians. | |
| double | getLatitudeDeg (void) const |
| Return the geodetic latitude in degrees. | |
| void | setLatitudeDeg (double lat) |
| Set the geodetic latitude from the argument given in degrees. | |
| double | getElevationM (void) const |
| Return the geodetic elevation in meters. | |
| void | setElevationM (double elevation) |
| Set the geodetic elevation from the argument given in meters. | |
| double | getElevationFt (void) const |
| Return the geodetic elevation in feet. | |
| void | setElevationFt (double elevation) |
| Set the geodetic elevation from the argument given in feet. | |
Static Public Member Functions | |
| static SGGeod | fromRad (double lon, double lat) |
| Factory from angular values in radians and elevation is 0. | |
| static SGGeod | fromDeg (double lon, double lat) |
| Factory from angular values in degrees and elevation is 0. | |
| static SGGeod | fromRadFt (double lon, double lat, double elevation) |
| Factory from angular values in radians and elevation in ft. | |
| static SGGeod | fromDegFt (double lon, double lat, double elevation) |
| Factory from angular values in degrees and elevation in ft. | |
| static SGGeod | fromRadM (double lon, double lat, double elevation) |
| Factory from angular values in radians and elevation in m. | |
| static SGGeod | fromDegM (double lon, double lat, double elevation) |
| Factory from angular values in degrees and elevation in m. | |
| static SGGeod | fromGeodM (const SGGeod &geod, double elevation) |
| Factory from an other SGGeod and a different elevation in m. | |
| static SGGeod | fromGeodFt (const SGGeod &geod, double elevation) |
| Factory from an other SGGeod and a different elevation in ft. | |
| static SGGeod | fromCart (const SGVec3< double > &cart) |
| Factory to convert position from a cartesian position assumed to be in wgs84 measured in meters Note that this conversion is relatively expensive to compute. | |
| static SGGeod | fromGeoc (const SGGeoc &geoc) |
| Factory to convert position from a geocentric position Note that this conversion is relatively expensive to compute. | |
Class representing a geodetic location.
Definition at line 30 of file SGGeod.hxx.
1.6.1