Interface Point

All Known Implementing Classes:
DoublePoint

public interface Point
Defines the properties of points that can be processed by LTThreeBuckets.

Users of this library must use DoublePoint or implement their own subtypes of this interface.

  • Method Summary

    Modifier and Type
    Method
    Description
    Computes the geometric center point of the segment linking the provided a and b points.
    double
    Returns the x horizontal (time) value of this point.
    double
    Returns the y vertical value of this point.
  • Method Details

    • centerBetween

      static DoublePoint centerBetween(Point a, Point b)
      Computes the geometric center point of the segment linking the provided a and b points.
      Parameters:
      a - the first point of the segment
      b - the second point of the segment
      Returns:
      a DoublePoint in the geometric center between the two provided points
    • getX

      double getX()
      Returns the x horizontal (time) value of this point.
      Returns:
      the x horizontal (time) value of this point
    • getY

      double getY()
      Returns the y vertical value of this point.
      Returns:
      the y vertical value of this point