Skip to main content

kabsch_2d

Function kabsch_2d 

Source
pub fn kabsch_2d(
    src: &[(f64, f64)],
    dst: &[(f64, f64)],
    allow_reflect: bool,
) -> RigidTransform
Expand description

Kabsch / Procrustes 2D: map src → dst (paired points).

Returns (cos, sin, tx, ty, det_sign). Empty input → identity.