A Direction2d represents a direction like 'up' or 'north' or 'forwards'. They
are represented using X and Y components, and can be converted to vectors if
necessary, but should be thought of as conceptually different. Directions have
several uses, such as:
Like other transformations, coordinate transformations of directions depend only on the orientations of the relevant frames, not the positions of their origin points.