Skip to main content

shape_error

Function shape_error 

Source
pub fn shape_error(m: &[f64; 6]) -> f64
Expand description

How far an affine map is from a similarity (rotation + uniform scale, either parity): the larger of the column-length mismatch and the columns’ cosine. Zero for a perfect similarity.