Class ITrace2D.DistancePoint

java.lang.Object
info.monitorenter.gui.chart.ITrace2D.DistancePoint
Enclosing interface:
ITrace2D

public static final class ITrace2D.DistancePoint extends Object
Simple struct just for allowing to return a trace point along with a weighted distance.

TODO: change this to an interface and implement in abstract base class to hide constructor.

Version:
$Revision: 1.41 $
Author:
Achim Westermann
  • Field Details

  • Constructor Details

    • DistancePoint

      public DistancePoint()
      Defcon.
  • Method Details

    • getDistance

      public final double getDistance()
      Returns:
      the distance.
    • getPoint

      public final ITracePoint2D getPoint()
      Returns:
      the point.
    • setDistance

      public final void setDistance(double manhattandistance)
      Parameters:
      manhattandistance - the manhattandistance to set
    • setPoint

      public final void setPoint(ITracePoint2D point)
      Parameters:
      point - the point to set