pub struct Horizontal {
pub altitude: Altitude,
pub azimuth: Azimuth,
}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 duplicate 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.
impl Copy for Horizontal
Auto Trait Implementations§
impl Freeze for Horizontal
impl RefUnwindSafe for Horizontal
impl Send for Horizontal
impl Sync for Horizontal
impl Unpin for Horizontal
impl UnwindSafe for Horizontal
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more