linesvary
Linesvary is a metric used in computational geometry to quantify how much a given set of lines deviates from a reference configuration. It is applicable to planar line data from drawings, image detections, and geometric datasets where assessing alignment and spread aids analysis and quality control.
A typical definition represents each line in normal form by angle theta_i in [0, pi) and offset
Variants may use unnormalized components or alternative line representations, and can be made invariant to translation
Applications include evaluating line-detection and feature-extraction algorithms, quality control for technical drawings, and guiding procedural generation