public class Point
extends java.lang.Object
implements java.io.Serializable
(x,y) coordinate space, specified in double precision.| Constructor and Description |
|---|
Point(double x,
double y)
Constructs and initializes a point at the specified
(x,y) location in the coordinate
space. |
| Modifier and Type | Method and Description |
|---|---|
double |
getX()
Returns the X coordinate of this
Point in double precision. |
double |
getY()
Returns the Y coordinate of this
Point in double precision. |