Skip to main content

apply_transform

Function apply_transform 

Source
pub fn apply_transform(
    input: &PointCloud,
    transform: Mat4<f32>,
) -> Result<PointCloud, SpatialError>
Expand description

Applies a 4×4 affine transform to a cloud’s positions (and normals, if present — normals are rotated by the linear part and renormalized).