16 siderust_geodetic_t out;
17 check_status(siderust_observatory_roque_de_los_muchachos(&out),
"ROQUE_DE_LOS_MUCHACHOS");
22 siderust_geodetic_t out;
23 check_status(siderust_observatory_el_paranal(&out),
"EL_PARANAL");
28 siderust_geodetic_t out;
29 check_status(siderust_observatory_mauna_kea(&out),
"MAUNA_KEA");
34 siderust_geodetic_t out;
35 check_status(siderust_observatory_la_silla(&out),
"LA_SILLA_OBSERVATORY");
45 siderust_geodetic_t out;
46 check_status(siderust_geodetic_new(lon_deg, lat_deg, height_m, &out),
Coordinate module umbrella.
Error handling and utility base for the siderust C++ wrapper.
Geodetic make_el_paranal()
Geodetic make_roque_de_los_muchachos()
Geodetic make_mauna_kea()
void check_status(siderust_status_t status, const char *operation)
Geodetic geodetic(double lon_deg, double lat_deg, double height_m=0.0)
Create a custom geodetic position (WGS84).
const Geodetic ROQUE_DE_LOS_MUCHACHOS
Roque de los Muchachos Observatory (La Palma, Spain).
const Geodetic LA_SILLA_OBSERVATORY
La Silla Observatory (Chile).
const Geodetic EL_PARANAL
El Paranal Observatory (Chile).
Geodetic roque_de_los_muchachos()
const Geodetic MAUNA_KEA
Mauna Kea Observatory (Hawaii, USA).
Geodetic position (WGS84 ellipsoid).
static Geodetic from_c(const siderust_geodetic_t &c)
Create from C FFI struct.