combineWith
Combines this DoubleArray with a Point2D by appending the point's x and y coordinates.
Return
a new DoubleArray containing all elements of this array followed by the x and y coordinates of the point
Parameters
other
the Point2D whose coordinates will be appended to this array