pub trait FloatPnt: NumPnt + Neg<Output = Self>where
<Self as NumPnt>::Field: RealField + Neg<Output = <Self as NumPnt>::Field>,
<Self as NumPnt>::Coordinates: Neg<Output = <Self as NumPnt>::Coordinates>,{
// Required methods
fn origin() -> Self;
fn distance(&self, b: &Self) -> Self::Field;
fn distance_squared(&self, b: &Self) -> Self::Field;
}
Expand description
Trait of vector with components implementing the RealField
trait.