Skip to main content

line_extraction

Function line_extraction 

Source
pub fn line_extraction(
    x: &[f64],
    y: &[f64],
    config: &LineExtractionConfig,
) -> LineExtractionResult
Expand description

Extract line segments from a 2D point cloud using Split-and-Merge.

ยงPanics

Panics if x and y have different lengths or contain fewer than 2 points.