Package info.monitorenter.gui.chart
Class ITrace2D.DistancePoint
java.lang.Object
info.monitorenter.gui.chart.ITrace2D.DistancePoint
- Enclosing interface:
- ITrace2D
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
FieldsModifier and TypeFieldDescriptionstatic final ITrace2D.DistancePoint
Constant for unfound distance. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal double
final ITracePoint2D
getPoint()
final void
setDistance
(double manhattandistance) final void
setPoint
(ITracePoint2D point)
-
Field Details
-
EMPTY
Constant for unfound distance.
-
-
Constructor Details
-
DistancePoint
public DistancePoint()Defcon.
-
-
Method Details
-
getDistance
public final double getDistance()- Returns:
- the distance.
-
getPoint
- Returns:
- the point.
-
setDistance
public final void setDistance(double manhattandistance) - Parameters:
manhattandistance
- the manhattandistance to set
-
setPoint
- Parameters:
point
- the point to set
-