Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Provided a point three-dimensions, what is the simplest way to rotate this point about the origin so that it falls along the X-, Y-, or Z-axis?

share|cite|improve this question
Define 'simplest'. Do you mean with just one rotation? Will any axis do, or do you want to be able to target X, Y or Z specifically? – occulus Dec 19 '11 at 1:02

first rotate along any of the axises until it falls into one of the XY, YZ or XZ planes then rotate along the other axis (perpendicular to the plane it is on) until it's on the axis you want

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.