pub struct MoonPrincipalAxes;Expand description
Moon principal axes (selenocentric) frame.
A body-fixed frame aligned with the Moon’s principal moments of inertia. Uses latitude/longitude/radius spherical naming.
Trait Implementations§
Source§impl Clone for MoonPrincipalAxes
impl Clone for MoonPrincipalAxes
Source§fn clone(&self) -> MoonPrincipalAxes
fn clone(&self) -> MoonPrincipalAxes
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MoonPrincipalAxes
Source§impl Debug for MoonPrincipalAxes
impl Debug for MoonPrincipalAxes
Source§impl Default for MoonPrincipalAxes
impl Default for MoonPrincipalAxes
Source§fn default() -> MoonPrincipalAxes
fn default() -> MoonPrincipalAxes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MoonPrincipalAxes
impl<'de> Deserialize<'de> for MoonPrincipalAxes
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MoonPrincipalAxes, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MoonPrincipalAxes, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MoonPrincipalAxes
Source§impl FrameRotationProvider<EME2000, MoonPrincipalAxes> for ()
impl FrameRotationProvider<EME2000, MoonPrincipalAxes> for ()
Source§fn rotation<Eph, Eop: EopProvider, Nut: NutationModel>(
jd: JulianDate,
ctx: &AstroContext<Eph, Eop>,
) -> Rotation3
fn rotation<Eph, Eop: EopProvider, Nut: NutationModel>( jd: JulianDate, ctx: &AstroContext<Eph, Eop>, ) -> Rotation3
Computes the rotation matrix from frame
F1 to frame F2.Source§impl FrameRotationProvider<EclipticMeanJ2000, MoonPrincipalAxes> for ()
impl FrameRotationProvider<EclipticMeanJ2000, MoonPrincipalAxes> for ()
Source§fn rotation<Eph, Eop: EopProvider, Nut: NutationModel>(
jd: JulianDate,
ctx: &AstroContext<Eph, Eop>,
) -> Rotation3
fn rotation<Eph, Eop: EopProvider, Nut: NutationModel>( jd: JulianDate, ctx: &AstroContext<Eph, Eop>, ) -> Rotation3
Computes the rotation matrix from frame
F1 to frame F2.Source§impl FrameRotationProvider<ICRS, MoonPrincipalAxes> for ()
impl FrameRotationProvider<ICRS, MoonPrincipalAxes> for ()
Source§fn rotation<Eph, Eop: EopProvider, Nut: NutationModel>(
jd: JulianDate,
ctx: &AstroContext<Eph, Eop>,
) -> Rotation3
fn rotation<Eph, Eop: EopProvider, Nut: NutationModel>( jd: JulianDate, ctx: &AstroContext<Eph, Eop>, ) -> Rotation3
Computes the rotation matrix from frame
F1 to frame F2.Source§impl FrameRotationProvider<MoonPrincipalAxes, EME2000> for ()
impl FrameRotationProvider<MoonPrincipalAxes, EME2000> for ()
Source§fn rotation<Eph, Eop: EopProvider, Nut: NutationModel>(
jd: JulianDate,
ctx: &AstroContext<Eph, Eop>,
) -> Rotation3
fn rotation<Eph, Eop: EopProvider, Nut: NutationModel>( jd: JulianDate, ctx: &AstroContext<Eph, Eop>, ) -> Rotation3
Computes the rotation matrix from frame
F1 to frame F2.Source§impl FrameRotationProvider<MoonPrincipalAxes, EclipticMeanJ2000> for ()
impl FrameRotationProvider<MoonPrincipalAxes, EclipticMeanJ2000> for ()
Source§fn rotation<Eph, Eop: EopProvider, Nut: NutationModel>(
jd: JulianDate,
ctx: &AstroContext<Eph, Eop>,
) -> Rotation3
fn rotation<Eph, Eop: EopProvider, Nut: NutationModel>( jd: JulianDate, ctx: &AstroContext<Eph, Eop>, ) -> Rotation3
Computes the rotation matrix from frame
F1 to frame F2.Source§impl FrameRotationProvider<MoonPrincipalAxes, ICRS> for ()
impl FrameRotationProvider<MoonPrincipalAxes, ICRS> for ()
Source§fn rotation<Eph, Eop: EopProvider, Nut: NutationModel>(
jd: JulianDate,
_ctx: &AstroContext<Eph, Eop>,
) -> Rotation3
fn rotation<Eph, Eop: EopProvider, Nut: NutationModel>( jd: JulianDate, _ctx: &AstroContext<Eph, Eop>, ) -> Rotation3
Computes the rotation matrix from frame
F1 to frame F2.Source§impl PartialEq for MoonPrincipalAxes
impl PartialEq for MoonPrincipalAxes
Source§fn eq(&self, other: &MoonPrincipalAxes) -> bool
fn eq(&self, other: &MoonPrincipalAxes) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl ReferenceFrame for MoonPrincipalAxes
impl ReferenceFrame for MoonPrincipalAxes
Source§impl Serialize for MoonPrincipalAxes
impl Serialize for MoonPrincipalAxes
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl SphericalNaming for MoonPrincipalAxes
impl SphericalNaming for MoonPrincipalAxes
Source§fn polar_name() -> &'static str
fn polar_name() -> &'static str
Returns the name for the polar/elevation angle (e.g., “dec”, “lat”, “alt”, “b”).
Source§fn azimuth_name() -> &'static str
fn azimuth_name() -> &'static str
Returns the name for the azimuthal angle (e.g., “ra”, “lon”, “az”, “l”).
Source§fn distance_name() -> &'static str
fn distance_name() -> &'static str
Returns the name for the radial distance (e.g., “distance”, “altitude”, “radius”). Read more
impl StructuralPartialEq for MoonPrincipalAxes
Auto Trait Implementations§
impl Freeze for MoonPrincipalAxes
impl RefUnwindSafe for MoonPrincipalAxes
impl Send for MoonPrincipalAxes
impl Sync for MoonPrincipalAxes
impl Unpin for MoonPrincipalAxes
impl UnsafeUnpin for MoonPrincipalAxes
impl UnwindSafe for MoonPrincipalAxes
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> UsingEngine for T
impl<T> UsingEngine for T
Source§fn using<'a, Ctx>(&'a self, engine: &'a Ctx) -> WithEngine<'a, Self, Ctx>where
Ctx: TransformContext,
fn using<'a, Ctx>(&'a self, engine: &'a Ctx) -> WithEngine<'a, Self, Ctx>where
Ctx: TransformContext,
Wrap this coordinate with a custom transform context for the next
transformation call.