Skip to main content

AffineSpace

Trait AffineSpace 

Source
pub trait AffineSpace<S: Field>: Point<Self::Translation> {
    type Translation: VectorSpace<S> + GroupAction<Self>;
}
Expand description

Space of Points (positions) and Vectors (displacements)

Required Associated Types§

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.

Implementations on Foreign Types§

Source§

impl AffineSpace<f32> for f32

Source§

impl AffineSpace<f64> for f64

Implementors§

Source§

impl<S, U> AffineSpace<S> for Position2<S, U>
where S: Field, U: Debug,

Source§

impl<S, U> AffineSpace<S> for Position3<S, U>
where S: Field, U: Debug,

Source§

impl<S, U> AffineSpace<S> for Position4<S, U>
where S: Field, U: Debug,

Source§

impl<S: Field> AffineSpace<S> for Point2<S>

Source§

impl<S: Field> AffineSpace<S> for Point3<S>

Source§

impl<S: Field> AffineSpace<S> for Point4<S>