public class LabelCoordinates extends Point
Point2D.Double, Point2D.Float
Modifier and Type | Field and Description |
---|---|
String |
label |
private static long |
serialVersionUID |
Constructor and Description |
---|
LabelCoordinates() |
LabelCoordinates(int x,
int y,
String label) |
Modifier and Type | Method and Description |
---|---|
double |
distance(LabelCoordinates other)
Calculate euclidean distance between this point and the other point
|
equals, getLocation, getX, getY, move, setLocation, setLocation, setLocation, toString, translate
clone, distance, distance, distance, distanceSq, distanceSq, distanceSq, hashCode, setLocation
private static final long serialVersionUID
public String label
public LabelCoordinates()
public LabelCoordinates(int x, int y, String label)
public double distance(LabelCoordinates other) throws MetricException
MetricException