pub fn radius_search_spatial_tensor_parallel_into<I>(
index: &I,
x: &[f32],
y: &[f32],
z: &[f32],
tensor: &SpatialTensor<'_>,
radius: f32,
out: &mut Vec<(usize, Neighbor)>,
)where
I: ChunkedRadiusSearchIndex + Sync,Expand description
Parallel radius search, appending (query_index, neighbor) pairs to out.
Retains original chunk and neighbor order. Scoped workers per call are capped by available CPU parallelism and chunk count; small or one-worker jobs run on the caller. Neighbor storage scales with result count.