Direction cosine (source code)

= Direction cosine
{wiki=Direction_cosine}

Direction cosines are the cosines of the angles between a vector and the coordinate axes in a Cartesian coordinate system. They provide a way to express the orientation of a vector in three-dimensional space.