Rotate point cloud based on the roll, pitch, and yaw angles.
rotate3D(cloud, roll = 0, pitch = 0, yaw = 0, threads = 1)
A data.table
with three columns describing the *XYZ* coordinates of a point cloud.
A numeric
vector describing the degrees of rotation angles for roll (*X*).
A numeric
vector describing the degrees of rotation angles for pitch (*Y*).
A numeric
vector describing the degrees of rotation angles for yaw (*Z*). for the roll, pitch, and yaw.
An integer
specifying the number of threads to use. Experiment to see what works best for your data on your hardware.
A data.table
with the rotation applied to cloud
.
The *XYZ* coordinates are transformed to E-N-U coordinates (ENU system, East-North-Up).