Functions | |
| void | xyz_to_latlon_deg (double x, double y, double z, double &lat, double &lon) |
| Convert Cartesian XYZ (on or near the unit sphere) to lat/lon in degrees. Normalizes internally so callers don't have to. Longitude is shifted to [0, 360). More... | |
Variables | |
| constexpr double | kPi = 3.14159265358979323846 |
| constexpr double | kRadToDegree = 180.0 / kPi |
|
inline |
Convert Cartesian XYZ (on or near the unit sphere) to lat/lon in degrees. Normalizes internally so callers don't have to. Longitude is shifted to [0, 360).
Definition at line 31 of file NCWriteScrip.cpp.
References kRadToDegree.
Referenced by moab::NCWriteScrip::collect_mesh_info().
|
constexpr |
Definition at line 25 of file NCWriteScrip.cpp.
|
constexpr |
Definition at line 26 of file NCWriteScrip.cpp.
Referenced by xyz_to_latlon_deg().