coordinatesWith
Combines the coordinates of this point and another point into a single array. The resulting array contains the x and y coordinates of this point followed by the x and y coordinates of the other point, in that order.
Return
A DoubleArray containing x, y, other.x, other.y.
Parameters
other
The other point whose coordinates will be combined with this point's coordinates.