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