Class PointD

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

    • x

      public double x
      The x coordinate
    • y

      public double y
      The y coordinate
  • Constructor Details

    • PointD

      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

    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object