Represents a two-dimensional point or vector of doubles
200.0.0
The x value.
The y value.
This makes it possible to add extensions to the DoubleXY companion e.g. for defining common vector constants.
a DoubleXY with each co-ordinate set to the absolute value of its current value.
Divides this DoubleXY x and y values by divisor and returns the result.
Return the Euclidean distance from (0,0) to the point at (x,y).
Subtracts other by subtracting its other.x from x and other.y from y and returns the result.
Adds other by adding this.x to other.x and this.y to other.y and returns the result.
Returns a string representation of the object.