Skip to main content

estimate_plane_covariances_grid_gpu_with_receipt

Function estimate_plane_covariances_grid_gpu_with_receipt 

Source
pub fn estimate_plane_covariances_grid_gpu_with_receipt(
    runtime: &WgpuRuntime,
    x: &[f32],
    y: &[f32],
    z: &[f32],
    radius: f32,
    epsilon: f32,
) -> SpatialResult<(Vec<GpuCovariance>, TransferStats)>
Expand description

Explicit covariance upload/readback with payload transfer accounting. Includes XYZ, sorted indices and grid offsets uploaded, and the complete padded 32-byte-per-point output downloaded; uniform controls are excluded. Grid construction remains CPU, and errors propagate without fallback.