Trait EuclideanSpace

Source
pub trait EuclideanSpace<S: Real>: AffineSpace<S>
where Self::Vector: InnerProductSpace<S>,
{ // Provided method fn origin() -> Self::Point { ... } }
Expand description

AffineSpace with translations in a (Euclidean) real inner product space

Provided Methods§

Source

fn origin() -> Self::Point

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<S, U> EuclideanSpace<S> for Cartesian2<S, U>
where S: Real,

Source§

impl<S, U> EuclideanSpace<S> for Cartesian3<S, U>
where S: Real,

Source§

impl<S, U> EuclideanSpace<S> for Cartesian4<S, U>
where S: Real,

Source§

impl<S: Real> EuclideanSpace<S> for Euclidean2<S>

Source§

impl<S: Real> EuclideanSpace<S> for Euclidean3<S>

Source§

impl<S: Real> EuclideanSpace<S> for Euclidean4<S>