Public Member Functions | |
Point3D (double lat=0.0, double lon=0.0, double alt=0.0) | |
constructor | |
Point3D (const Geocentric::Point3D &p) | |
copy constructor | |
Point3D & | operator= (const Geocentric::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. Spherical earth model is assumed | |
Public Attributes | |
double | lat |
double | lon |
double | alt |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Point3D &p) |
content printer |
3D point in Geocentric coordinates. Spherical earth model is assumed
Geocentric::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 level in meters |
Referenced by to_spherical().
Geocentric::Point3D::Point3D | ( | const Geocentric::Point3D & | p | ) |
Geocentric::Point3D & Geocentric::Point3D::operator= | ( | const Geocentric::Point3D & | p | ) |
void Geocentric::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 |
Carthesian::Point3D Geocentric::Point3D::to_carthesian | ( | void | ) | const |
convert to carthesian coordinates. Spherical earth model is assumed
References Spherical::Point3D::to_carthesian(), and to_spherical().
Spherical::Point3D Geocentric::Point3D::to_spherical | ( | void | ) | const |
convert to spherical coordinates
References alt, Earth::get_radius(), lat, lon, and Point3D().
Referenced by to_carthesian().
std::ostream& operator<< | ( | std::ostream & | os, | |
const Point3D & | p | |||
) | [friend] |
content printer
os | output flux | |
pixel | current oject alias |
double Geocentric::Point3D::alt |
altitude above mean-sea level in meters
Referenced by operator=(), Point3D(), and to_spherical().
double Geocentric::Point3D::lat |
latitude in degrees from north pole
Referenced by operator=(), Point3D(), and to_spherical().
double Geocentric::Point3D::lon |
longitude in degrees from greenwich meridian
Referenced by operator=(), Point3D(), and to_spherical().