Skip to main content

transform_point_cloud

Function transform_point_cloud 

Source
pub fn transform_point_cloud(
    cloud: &PointCloud,
    rotation: [[f64; 3]; 3],
    translation: [f64; 3],
) -> PointCloud
Expand description

Apply a rigid transformation to a point cloud.

rotation is a 3x3 matrix (row-major), translation is [tx, ty, tz].