Trait lyon_geom::traits::Transformation

source ·
pub trait Transformation<S> {
    // Required methods
    fn transform_point(&self, p: Point<S>) -> Point<S>;
    fn transform_vector(&self, v: Vector<S>) -> Vector<S>;
}

Required Methods§

source

fn transform_point(&self, p: Point<S>) -> Point<S>

source

fn transform_vector(&self, v: Vector<S>) -> Vector<S>

Implementations on Foreign Types§

source§

impl<'l, S: Scalar, T: Transformation<S>> Transformation<S> for &'l T

source§

fn transform_point(&self, p: Point<S>) -> Point<S>

source§

fn transform_vector(&self, v: Vector<S>) -> Vector<S>

Implementors§