Simple CRS conversions tools.
More...
|
void | llh2ecef (const double &lat, const double &lon, const double &h, double &x, double &y, double &z) |
| Converts from Latitude Longitude to Earth-Centered Earth-Fixed coordinates. More...
|
|
void | ecef2llh (const double &x, const double &y, const double &z, double &lat, double &lon, double &h) |
| Converts from Earth-Centered Earth-Fixed to Latitude Longitude coordinates. More...
|
|
Simple CRS conversions tools.
◆ ecef2llh()
void crs_conversions::ecef2llh |
( |
const double & |
x, |
|
|
const double & |
y, |
|
|
const double & |
z, |
|
|
double & |
lat, |
|
|
double & |
lon, |
|
|
double & |
h |
|
) |
| |
Converts from Earth-Centered Earth-Fixed to Latitude Longitude coordinates.
- Parameters
-
x | Earth-Centered Earth-Fixed X |
y | Earth-Centered Earth-Fixed Y |
z | Earth-Centered Earth-Fixed Z |
lat | Latitude (in degrees) |
lon | Longitude (in degrees) |
h | Height (in meters) |
◆ llh2ecef()
void crs_conversions::llh2ecef |
( |
const double & |
lat, |
|
|
const double & |
lon, |
|
|
const double & |
h, |
|
|
double & |
x, |
|
|
double & |
y, |
|
|
double & |
z |
|
) |
| |
Converts from Latitude Longitude to Earth-Centered Earth-Fixed coordinates.
- Parameters
-
lat | Latitude (in degrees) |
lon | Longitude (in degrees) |
h | Height (in meters) |
x | Earth-Centered Earth-Fixed X |
y | Earth-Centered Earth-Fixed Y |
z | Earth-Centered Earth-Fixed Z |