Given a current position, find the index of the next position in the path.
Free the memory allocated for this path.
Get the position at a given index.
Convert the path to an array of positions.
Convert the path to an array of positions in reverse order.
A path from a start position to an end position. Typically returned by a function like
pathToFlowFieldOrigin
rather than created directly.