Struct acap::cos::PrenormAngular [−][src]
pub struct PrenormAngular<T>(pub T);
Expand description
Equips any coordinate space with the angular distance metric for pre-normalized (unit magnitude) points.
Tuple Fields
0: T
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<T> Proximity<PrenormAngular<T>> for PrenormAngular<T> where
T: Coordinates,
T::Value: Real,
AngularDistance<T::Value>: Distance,
impl<T> Proximity<PrenormAngular<T>> for PrenormAngular<T> where
T: Coordinates,
T::Value: Real,
AngularDistance<T::Value>: Distance,
impl<T> Proximity<PrenormAngular<T>> for T where
T: Coordinates,
T::Value: Real,
AngularDistance<T::Value>: Distance,
impl<T> Proximity<PrenormAngular<T>> for T where
T: Coordinates,
T::Value: Real,
AngularDistance<T::Value>: Distance,
type Distance = AngularDistance<T::Value>
type Distance = AngularDistance<T::Value>
The type that represents distances.
Calculate the distance between this point and another one.
impl<T> Proximity<T> for PrenormAngular<T> where
T: Coordinates,
T::Value: Real,
AngularDistance<T::Value>: Distance,
impl<T> Proximity<T> for PrenormAngular<T> where
T: Coordinates,
T::Value: Real,
AngularDistance<T::Value>: Distance,
impl<T> Metric<PrenormAngular<T>> for PrenormAngular<T> where
T: Coordinates,
T::Value: Real,
AngularDistance<T::Value>: Distance,
Angular distance is a metric.
impl<T> Metric<PrenormAngular<T>> for T where
T: Coordinates,
T::Value: Real,
AngularDistance<T::Value>: Distance,
Angular distance is a metric.
impl<T> Metric<T> for PrenormAngular<T> where
T: Coordinates,
T::Value: Real,
AngularDistance<T::Value>: Distance,
Angular distance is a metric.
Auto Trait Implementations
impl<T> RefUnwindSafe for PrenormAngular<T> where
T: RefUnwindSafe,
impl<T> Send for PrenormAngular<T> where
T: Send,
impl<T> Sync for PrenormAngular<T> where
T: Sync,
impl<T> Unpin for PrenormAngular<T> where
T: Unpin,
impl<T> UnwindSafe for PrenormAngular<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more