java.lang.Object
org.eclipse.nebula.widgets.geomap.PointD
public final class PointD
extends java.lang.Object
Holds x and y coordinates of type double.
-
Field Summary
Fields
Modifier and Type |
Field |
Description |
double |
x |
The x coordinate
|
double |
y |
The y coordinate
|
-
Constructor Summary
Constructors
Constructor |
Description |
PointD(double x,
double y) |
Initializes this PointD with the provided x- and y-coordinates
|
-
Method Summary
Modifier and Type |
Method |
Description |
java.lang.String |
toString() |
|
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
public double x
The x coordinate
-
public double y
The y coordinate
-
Constructor Details
-
public PointD(double x,
double y)
Initializes this PointD with the provided x- and y-coordinates
- Parameters:
x
- the x coordinate
y
- the y coordinate
-
Method Details
-
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object