[][src]Trait plexus::geometry::Space

pub trait Space: Geometry where
    Self::Vertex: AsPosition<Target = Self::Point>, 
{ type Scalar: Clone + Neg<Output = Self::Scalar> + Num; type Vector: Add<Output = Self::Vector> + Clone + Mul<Self::Scalar, Output = Self::Vector> + Neg<Output = Self::Vector>; type Point: Add<Self::Vector, Output = Self::Point> + Clone + Sub<Output = Self::Vector>; }

Associated Types

type Scalar: Clone + Neg<Output = Self::Scalar> + Num

type Vector: Add<Output = Self::Vector> + Clone + Mul<Self::Scalar, Output = Self::Vector> + Neg<Output = Self::Vector>

type Point: Add<Self::Vector, Output = Self::Point> + Clone + Sub<Output = Self::Vector>

Loading content...

Implementations on Foreign Types

impl<T> Space for Point2<T> where
    T: AddAssign + MulAssign + Neg<Output = T> + Num + Scalar + SubAssign,
    Self::Vertex: AsPosition<Target = Self>, 
[src]

type Scalar = T

type Vector = Vector2<T>

type Point = Self

impl<T> Space for Point3<T> where
    T: AddAssign + MulAssign + Neg<Output = T> + Num + Scalar + SubAssign,
    Self::Vertex: AsPosition<Target = Self>, 
[src]

type Scalar = T

type Vector = Vector3<T>

type Point = Self

Loading content...

Implementors

Loading content...