Geodetic
このコンテンツはまだ日本語訳がありません。
Defined in: geodetic.rs:17
pub struct Geodetic { pub latitude: f64, pub longitude: f64, pub altitude: f64,}Geodetic coordinates (WGS-84).
Fields
Section titled “Fields”latitude
Section titled “latitude”latitude: f64
Geodetic latitude [rad].
longitude
Section titled “longitude”longitude: f64
Longitude [rad].
altitude
Section titled “altitude”altitude: f64
Height above the WGS-84 ellipsoid [km].
Methods
Section titled “Methods”to_ecef()
Section titled “to_ecef()”fn to_ecef<F: frame::Ecef>(&self) -> Vec3<F>
Convert to a WGS-84 Earth-fixed Cartesian vector [km] on any
frame::Ecef frame marker.
Generic counterpart of SimpleEcef::from(geodetic), mirroring
Vec3::to_geodetic — the ellipsoid math is identical for the
simple and precise Ecef markers.