MATLAB: How to rotate set of 3d points about a specific point

3d rotate

Hello all , Having a set of 3D points I want to rotate them about user defined point , not only about the mid point . how it would be done ? thank you

Best Answer

The ending point of any rigid body is dependent on the starting point, the angle of rotation, the plane of rotation, and the center point of rotation. The information about the how much rotation around which axes and the center of rotation can all be encoded into a rotation matrix. See for example http://inside.mines.edu/fs_home/gmurray/ArbitraryAxisRotation/
Related Question