Interface TwoDTree.Point

All Known Implementing Classes:
GeoLocation
Enclosing class:
TwoDTree<T extends TwoDTree.Point>

public static interface TwoDTree.Point
Point usable by the 2D tree. Implementation must be immutable.
Author:
Lee A. Christie
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    x()
    Returns the x-coordinate of the point.
    double
    y()
    Returns the y-coordinate of the point.
  • Method Details

    • x

      double x()
      Returns the x-coordinate of the point.
      Returns:
      the x-coordinate
    • y

      double y()
      Returns the y-coordinate of the point.
      Returns:
      the y-coordinate