pub fn knn_graph(
cloud: &PointCloud,
k: usize,
) -> Result<NeighborGraph, SpatialError>Expand description
Builds a directed k-nearest-neighbor graph: an edge from every point to each
of its k nearest neighbors (excluding itself).
pub fn knn_graph(
cloud: &PointCloud,
k: usize,
) -> Result<NeighborGraph, SpatialError>Builds a directed k-nearest-neighbor graph: an edge from every point to each
of its k nearest neighbors (excluding itself).