Public Member Functions | |
Point3D (double lat=0.0, double lon=0.0, double alt=0.0) | |
constructor | |
Point3D (const Geodetic::Point3D &p) | |
copy constructor | |
Point3D & | operator= (const Geodetic::Point3D &p) |
affectation constructor | |
void | set (double lat=0.0, double lon=0.0, double alt=0.0) |
general setter | |
Spherical::Point3D | to_spherical (void) const |
convert to spherical coordinates | |
Carthesian::Point3D | to_carthesian () const |
convert to carthesian coordinates. WGS84 ellipsoidal earth model is assumed | |
Public Attributes | |
double | lat |
double | lon |
double | alt |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Geodetic::Point3D &p) |
content printer |
3D point in geodetic coordinates.
Geodetic::Point3D::Point3D | ( | double | lat = 0.0 , |
|
double | lon = 0.0 , |
|||
double | alt = 0.0 | |||
) |
constructor
lat | latitude in degrees from north pole | |
lon | longitude in degrees from greenwich meridian | |
alt | altitude above mean-sea of ellipsoid level in meters |
Referenced by to_spherical().
Geodetic::Point3D::Point3D | ( | const Geodetic::Point3D & | p | ) |
Geodetic::Point3D & Geodetic::Point3D::operator= | ( | const Geodetic::Point3D & | p | ) |
void Geodetic::Point3D::set | ( | double | lat = 0.0 , |
|
double | lon = 0.0 , |
|||
double | alt = 0.0 | |||
) |
general setter
lat | latitude in degrees from north pole | |
lon | longitude in degrees from greenwich meridian | |
alt | altitude above mean-sea level in meters |
Referenced by CALIOPFileData::get_viewing_directions(), and Carthesian::Point3D::to_geodetic().
Carthesian::Point3D Geodetic::Point3D::to_carthesian | ( | void | ) | const |
convert to carthesian coordinates. WGS84 ellipsoidal earth model is assumed
Referenced by Viewing::earth_to_sat_from_alt(), Viewing::earth_to_sat_from_range(), CALIOPFileData::get_viewing_directions(), and Carthesian::Segment3D::Segment3D().
Spherical::Point3D Geodetic::Point3D::to_spherical | ( | void | ) | const |
std::ostream& operator<< | ( | std::ostream & | os, | |
const Geodetic::Point3D & | p | |||
) | [friend] |
content printer
os | output flux | |
pixel | current oject alias |
double Geodetic::Point3D::alt |
altitude above mean-sea level of ellipsoid in meters
Referenced by Viewing::alt_to_range(), operator=(), Point3D(), to_carthesian(), and to_spherical().
double Geodetic::Point3D::lat |
latitude in degrees from north pole
Referenced by Viewing::earth_to_sat_from_range(), operator=(), Point3D(), to_carthesian(), and to_spherical().
double Geodetic::Point3D::lon |
longitude in degrees from greenwich meridian
Referenced by Viewing::earth_to_sat_from_range(), operator=(), Point3D(), to_carthesian(), and to_spherical().