Class 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
    • Constructor Detail

      • DistancePoint

        public 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