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
    Utility method to compute the geometric center point of the segment linking the provided a and b points
    double
     
    double
     
  • Method Details

    • getX

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

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

      static DoublePoint centerBetween(Point a, Point b)
      Utility method to compute 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