pub fn weight(
density: &[f64],
voxel_map: &BlockingVoxelMap,
index: &[usize],
weight_tolerance: f64,
visible_bar: bool,
threads: usize
) -> Vec<isize>
Expand description
Assigns a maxima to the points within index.
Note: This function will deadlock if the points above it have no associated
maxima in [VoxelMap.voxel_map
]. As such make sure index is sorted.