Coordinate2D

constructor(x: Int, y: Int)

Constructs a 2D Coordinate.

Parameters

x

X Value

y

Y Value


constructor(xy: IntArray)
constructor(xy: DoubleArray)

Constructs a 2D Coordinate.

Parameters

xy

Array of X and Y Values


constructor(x: Double, y: Double)