Class TrackerPoint

java.lang.Object
org.ampere.base.util.TrackerPoint

public class TrackerPoint extends Object
Represent a point using floating point coordinates (double) to be used for tracker, i.e. the class is mutable
Author:
Herve Morel
  • Constructor Details

    • TrackerPoint

      public TrackerPoint(double x, double y)
      Creates a new instance of Point
      Parameters:
      x - abcissa value
      y - ordinate value
    • TrackerPoint

      public TrackerPoint(TrackerPoint source)
  • Method Details

    • getX

      public double getX()
    • getY

      public double getY()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • leftmost

      public void leftmost(double newX, double newY)
    • rightmost

      public void rightmost(double newX, double newY)
    • highestPoint

      public void highestPoint(double newX, double newY)
    • lowestPoint

      public void lowestPoint(double newX, double newY)