public class EdgeDistancePack extends java.lang.Object implements java.lang.Comparable<EdgeDistancePack>
| Constructor and Description |
|---|
EdgeDistancePack(Edge2D edge,
double distance)
Constructor of the edge distance pack class used to create a new edge
distance pack instance from a 2D edge and a scalar value describing a
distance.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(EdgeDistancePack o) |
public Edge2D edge
public double distance
public EdgeDistancePack(Edge2D edge, double distance)
edge - The edgedistance - The distance of the edge to some pointpublic int compareTo(EdgeDistancePack o)
compareTo in interface java.lang.Comparable<EdgeDistancePack>