Rotate a plane of coordinates to a given angle.
rotate2D(plane, angle, threads = 1)A data.table with two columns describing the plane of coordinates.
A numeric vector describing the degrees of rotation.
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 plane.