info.monitorenter.gui.chart
Class ITrace2D.DistancePoint

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

public static final class ITrace2D.DistancePoint
extends java.lang.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 Summary
static ITrace2D.DistancePoint EMPTY
          Constant for unfound distance.
 
Constructor Summary
ITrace2D.DistancePoint()
          Defcon.
 
Method Summary
 double getDistance()
           
 ITracePoint2D getPoint()
           
 void setDistance(double manhattandistance)
           
 void setPoint(ITracePoint2D point)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY

public static final ITrace2D.DistancePoint EMPTY
Constant for unfound distance.

Constructor Detail

ITrace2D.DistancePoint

public ITrace2D.DistancePoint()
Defcon.

Method Detail

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


Copyright © 2001 - 2010 LGPL, All Rights Footloose.