Trait rin::math::FloatPnt [−][src]
pub trait FloatPnt: NumPnt + Neg<Output = Self> where
Self::Field: RealField,
Self::Field: Neg,
Self::Coordinates: Neg,
<Self::Field as Neg>::Output == Self::Field,
<Self::Coordinates as Neg>::Output == Self::Coordinates, { pub fn origin() -> Self; pub fn distance(&self, b: &Self) -> Self::Field; pub fn distance_squared(&self, b: &Self) -> Self::Field; }
Trait of vector with components implementing the RealField
trait.
Required methods
pub fn origin() -> Self
[src]
pub fn distance(&self, b: &Self) -> Self::Field
[src]
pub fn distance_squared(&self, b: &Self) -> Self::Field
[src]
Implementors
Loading content...