Struct starstuff_types::coord::Horizontal
source · Expand description
Horizontal Astronomical Coordinates
https://en.wikipedia.org/wiki/Astronomical_coordinate_systems#Horizontal_system
Fields§
§altitude: Altitude§azimuth: AzimuthImplementations§
source§impl Horizontal
impl Horizontal
sourcepub fn from_equitorial(
eq: &Equitorial,
geo: &Geographic,
sidereal_time: &GMST
) -> Self
pub fn from_equitorial(
eq: &Equitorial,
geo: &Geographic,
sidereal_time: &GMST
) -> Self
Convert equitorial coordinates to horizontal given a place and time.
https://en.wikipedia.org/wiki/Astronomical_coordinate_systems#Equatorial_%E2%86%94_horizontal
sourcepub fn stereo_project(&self) -> Polar
pub fn stereo_project(&self) -> Polar
Stereographic map projection of coordinates.
Trait Implementations§
source§impl Clone for Horizontal
impl Clone for Horizontal
source§fn clone(&self) -> Horizontal
fn clone(&self) -> Horizontal
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for Horizontal
impl Debug for Horizontal
source§impl From<StarCoordinates> for Horizontal
impl From<StarCoordinates> for Horizontal
source§fn from(coord: StarCoordinates) -> Self
fn from(coord: StarCoordinates) -> Self
Converts to this type from the input type.