recomposes

Function recomposes 

Source
pub fn recomposes(
    template_origin: [f64; 3],
    template_positions: &[f32],
    target_origin: [f64; 3],
    target_positions: &[f32],
    rel_row_major: &[f64; 16],
    floor_m: f64,
) -> bool
Expand description

Whether placing a template (template_origin + template_positions) by the row-major rel reproduces an occurrence’s own baked vertices within the reconstruction tolerance, never tighter than floor_m metres: the #3666 gate [verify_pairing] applies to every collated group, for callers that pair templates with occurrences themselves (the browser’s global instance plan). A collision misplaces geometry by metres, so a sub-millimetre floor still refuses it while making the verdict independent of which occurrence defined the template (f32 noise sits near the ULP-scaled bound).