Direction Cosines

Written by Paul Bourke
August 1994


For a vector in 3 space P = (Px,Py,Pz) the direction cosines are defined as

These are the cosines of the angles to each axis.

Also