Point2D

constructor()

Constructs and initializes a Point2D with coordinates (0, 0).

Since

1.2


constructor(pt: POINT2)

add the constructor

Parameters

pt

constructor(x: double, y: double)

Constructs and initializes a Point2D with the specified coordinates.

Since

1.2

Parameters

x

the X coordinate of the newly constructed Point2D

y

the Y coordinate of the newly constructed Point2D