#[unsafe(no_mangle)]pub unsafe extern "C" fn lc_knearest_many(
xyz: *const f64,
n: usize,
n_frames: usize,
simbox: *const lc_cell,
k: usize,
mask: *const c_int,
cell_hint: f64,
out_nn: *mut c_int,
out_d2: *mut f64,
) -> c_intExpand description
Frame-major batch. xyz is n_frames * n packed triples.
out_nn / out_d2 are n_frames * n * k. One shared cell.
mask is length n or NULL. out_d2 may be NULL.
ยงSafety
xyz is readable for n_frames * n * 3 doubles. out_nn is
writable for n_frames * n * k ints. out_d2, if non-null, is
writable for n_frames * n * k doubles. simbox and mask
follow lc_knearest.