Trait planar::Transform
[−]
[src]
pub trait Transform<T, UnitFrom> { type OutT; type OutUnit; fn transform_point(
&self,
p: Point<T, UnitFrom>
) -> Point<Self::OutT, Self::OutUnit>; }
Associated Types
Required Methods
fn transform_point(
&self,
p: Point<T, UnitFrom>
) -> Point<Self::OutT, Self::OutUnit>
&self,
p: Point<T, UnitFrom>
) -> Point<Self::OutT, Self::OutUnit>
Implementors
impl<T, UnitFrom, W, UnitTo> Transform<T, UnitFrom> for AxisAlignedTransform<T, UnitFrom, OutT = W, OutUnit = UnitTo> type OutT = W; type OutUnit = UnitTo;
impl<T, UnitFrom, UnitTo> Transform<T, UnitFrom> for MatrixTransform<T, UnitFrom, UnitTo> where
T: Clone + Add<T, Output = T> + Mul<T, Output = T>, type OutT = T; type OutUnit = UnitTo;