pub trait ChunkedRadiusSearchIndex: RadiusSearchIndex {
// Required method
fn radius_search_chunk_into(
&self,
x: &[f32],
y: &[f32],
z: &[f32],
chunk: ChunkQueryRange,
radius: f32,
out: &mut Vec<(usize, Neighbor)>,
);
// Provided method
fn radius_search_at(
&self,
x: &[f32],
y: &[f32],
z: &[f32],
index: usize,
radius: f32,
) -> Vec<Neighbor> { ... }
}Expand description
Radius search over contiguous query index ranges.
Required Methods§
Sourcefn radius_search_chunk_into(
&self,
x: &[f32],
y: &[f32],
z: &[f32],
chunk: ChunkQueryRange,
radius: f32,
out: &mut Vec<(usize, Neighbor)>,
)
fn radius_search_chunk_into( &self, x: &[f32], y: &[f32], z: &[f32], chunk: ChunkQueryRange, radius: f32, out: &mut Vec<(usize, Neighbor)>, )
Appends (query_index, neighbor) for each point index in chunk.