Skip to main content

estimate_normals_2d

Function estimate_normals_2d 

Source
pub fn estimate_normals_2d(
    samples: &[Vector2<f64>],
    radius: f64,
    min_neighbors: usize,
) -> Vec<Option<Vector2<f64>>>
Expand description

Estimates a PCA normal around every sample using neighbors within radius.