pub fn score_ransac_plane_hypotheses_gpu(
runtime: &WgpuRuntime,
x: &[f32],
y: &[f32],
z: &[f32],
hypotheses: &[[u32; 3]],
distance_threshold: f32,
) -> SpatialResult<Vec<GpuPlaneScore>>Expand description
Scores RANSAC plane hypotheses in parallel on the GPU.
Uploads XYZ and hypotheses and explicitly reads back one score per hypothesis. Large inputs also partition points across workgroup lanes, reducing integer counts while retaining each point’s f32 distance arithmetic. Invalid indices, empty point arrays and unsupported sizes/compute limits fail before GPU work.