meshRotation
Rotate a 3D mesh.
This function rotates an arbitrary number of points in R3 given in v according to the dihedral angle between a source normal n1 and a target normal n2. The pivot of rotation is the origin of the cartesian coordinates and the axis of rotation is the perpendicular to the source and target normals.
See also: meshArea, meshBarycenter, meshSection
Source Code: meshRotation