pub trait Transformation {
    fn transform_point(&self, point: Point) -> Point;
    fn transform_vector(&self, vector: Vector) -> Vector;
}
Expand description

A trait for transformations in 2-dimensional Euclidian space.

Required Methods

Applies self to the given point.

Applies self to the given vector.

Implementors