Basic cartesian geometry operations on 2D vectors.
2D vectors in cartesian representation.
Vectors of all unit moves in the chessboard metric, clockwise, starting north-west.
Vectors of all cardinal direction unit moves, clockwise, starting north.
The lenght of a vector in the chessboard metric, where diagonal moves cost 1.