Function moving_least_squares::deform_affine[][src]

pub fn deform_affine(
    controls_p: &[(f32, f32)],
    controls_q: &[(f32, f32)],
    point: (f32, f32)
) -> (f32, f32)
Expand description

Move a given point from its original position to its new position according to the deformation that transforms the original control points into their displaced locations.

The estimated transformation is an affine 2d transformation.