TopocentricSite
このコンテンツはまだ日本語訳がありません。
Defined in: topocentric.rs:30
pub struct TopocentricSite\<F: [frame::Ecef](../../traits/ecef/)\>A ground site with precomputed position and ENU basis vectors.
The “up” direction is the geodetic normal (perpendicular to the WGS-84 ellipsoid), not the geocentric direction — elevation is measured from the local geodetic horizon.
Methods
Section titled “Methods”fn new(geodetic: Geodetic) -> Self
Construct a site from WGS-84 geodetic coordinates.
geodetic()
Section titled “geodetic()”fn geodetic(&self) -> &Geodetic
The site’s geodetic coordinates.
position()
Section titled “position()”fn position(&self) -> &Vec3<F>
The site’s Earth-fixed Cartesian position [km].
look_angles()
Section titled “look_angles()”fn look_angles(&self, target: &Vec3<F>) -> LookAngles
Look angles from this site to target (Earth-fixed position [km]).
target must differ from the site position (zero range yields NaN
angles). At zenith the azimuth is ill-defined and returns 0 by the
atan2(0, 0) convention.