pub fn knn_graph(cloud: &PointCloud, k: usize) -> SpatialResult<NeighborGraph>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) -> SpatialResult<NeighborGraph>Builds a directed k-nearest-neighbor graph: an edge from every point to each
of its k nearest neighbors (excluding itself).