I have difficulty understanding your initial post as well as your clarifying post. If you want to rotate you typically need a Rotation matrix R. You represent the point you want to rotate by a vector v and perform the multiplication R.v. This is fairly straightforward. CPAN is your friend: Math::VectorReal contains an example of rotating a vector with a rotation matrix.
HTH
Harry
In reply to Re^3: Cartesian co-ordinate rotation around an Axis
by dHarry
in thread Cartesian co-ordinate rotation around an Axis
by fraizerangus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |