![]() |
siderust-cpp 0.8.0
Header-only C++ wrapper for siderust
|
Geodetic position (WGS84 ellipsoid). More...
#include <siderust/coordinates/geodetic.hpp>
Public Member Functions | |
| Geodetic () | |
| Geodetic (qtty::Degree lon_, qtty::Degree lat_, qtty::Meter h=qtty::Meter(0)) | |
| Geodetic (double lon_deg, double lat_deg, double height_m=0.0) | |
| Raw-double convenience constructor (degrees, metres). | |
| siderust_geodetic_t | to_c () const |
| Convert to C FFI struct. | |
| template<typename U = qtty::Meter> | |
| cartesian::Position< centers::Geocentric, frames::ECEF, U > | to_cartesian () const |
| Convert geodetic (WGS84/ECEF) to cartesian position. | |
Static Public Member Functions | |
| static Geodetic | from_c (const siderust_geodetic_t &c) |
| Create from C FFI struct. | |
Public Attributes | |
| qtty::Degree | lon |
| Longitude (east positive). | |
| qtty::Degree | lat |
| Latitude (north positive). | |
| qtty::Meter | height |
| Height above ellipsoid. | |
Geodetic position (WGS84 ellipsoid).
Fixed to frame=ECEF, center=Geocentric. Uses qtty quantities.
Definition at line 29 of file geodetic.hpp.
|
inline |
Definition at line 34 of file geodetic.hpp.
Referenced by from_c().
|
inline |
Definition at line 36 of file geodetic.hpp.
|
inline |
Raw-double convenience constructor (degrees, metres).
Definition at line 40 of file geodetic.hpp.
|
inlinestatic |
Create from C FFI struct.
Definition at line 47 of file geodetic.hpp.
References Geodetic().
Referenced by siderust::geodetic(), siderust::detail::make_el_paranal(), siderust::detail::make_la_silla(), siderust::detail::make_mauna_kea(), and siderust::detail::make_roque_de_los_muchachos().
|
inline |
Convert to C FFI struct.
Definition at line 44 of file geodetic.hpp.
References height, lat, and lon.
Referenced by siderust::body::altitude_at(), siderust::sun::altitude_at(), siderust::moon::altitude_at(), siderust::DirectionTarget< C >::altitude_at(), siderust::ProperMotionTarget::altitude_at(), siderust::icrs_altitude::altitude_at(), siderust::star_altitude::altitude_at(), siderust::altitude_at(), siderust::body::azimuth_at(), siderust::sun::azimuth_at(), siderust::moon::azimuth_at(), siderust::DirectionTarget< C >::azimuth_at(), siderust::ProperMotionTarget::azimuth_at(), siderust::icrs_altitude::azimuth_at(), siderust::star_altitude::azimuth_at(), siderust::azimuth_at(), siderust::moon::phase_topocentric(), and to_cartesian().
|
inline |
Convert geodetic (WGS84/ECEF) to cartesian position.
| U | Output length unit (default: meter). |
Definition at line 14 of file conversions.hpp.
References siderust::check_status(), siderust::cartesian::Position< C, F, U >::from_c(), and to_c().
Referenced by siderust::geodetic_to_cartesian_ecef().
| qtty::Meter siderust::Geodetic::height |
Height above ellipsoid.
Definition at line 32 of file geodetic.hpp.
Referenced by siderust::operator<<(), and to_c().
| qtty::Degree siderust::Geodetic::lat |
Latitude (north positive).
Definition at line 31 of file geodetic.hpp.
Referenced by siderust::operator<<(), and to_c().
| qtty::Degree siderust::Geodetic::lon |
Longitude (east positive).
Definition at line 30 of file geodetic.hpp.
Referenced by siderust::operator<<(), and to_c().