Skip to main content

spatial_f32_field_view

Function spatial_f32_field_view 

Source
pub fn spatial_f32_field_view<'a>(
    tensor: &SpatialTensor<'a>,
    field_name: &str,
) -> Result<TensorView<'a>, SpatialTensorBridgeError>
Expand description

Borrows one f32 point field as a zero-copy [point_count] CPU tensor.

Point fields remain separate Schema-SoA columns. Interleaving XYZ or other fields requires a separately named packing operation and is never hidden by this bridge.