pub trait Transformation {
    type SourceCoord;
    type DestinationCoord;

    fn transform_point(
        &self,
        p: Point<Self::SourceCoord>
    ) -> Point<Self::DestinationCoord>; }
Expand description

General geometric transformation.

Required Associated Types

Coordinate type of input points.

Coordinate type of output points.

Required Methods

Apply the transform to a point.

Implementors