rotation matrix

Dickinson, John John.Dickinson at
Tue Nov 13 11:11:50 PST 2001

I am whipping together a model of a geometry problem and need the formulas
or algorithm for calculating a rotation matrix (3D) needed to align one
direction vector with another.  I can work it by hand if I have to but I
hate doing that when in a rush not wanting to search the inevitabl bugs.

Paper, book or code references welcome!

-((Insert standard disclaimer here))-|--- Washington Irving (1783-1859) ----
John Kenneth Dickinson               |   "A sharp tongue is the only
Research Council Officer  IMTI-NRC   |    edge tool that grows keener
email: john.dickinson at         |    with constant use."

The compgeom mailing lists: see
or send mail to compgeom-request at with the line:
send readme
Now archived at

More information about the Compgeom-announce mailing list