at.tuwien.ifs.somtoolbox.visualization.clustering
Class LabelCoordinates
java.lang.Object
java.awt.geom.Point2D
java.awt.Point
at.tuwien.ifs.somtoolbox.visualization.clustering.LabelCoordinates
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class LabelCoordinates
- extends java.awt.Point
- Version:
- $Id: LabelCoordinates.java 3358 2010-02-11 14:35:07Z mayer $
- Author:
- Doris Baum
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class java.awt.geom.Point2D |
java.awt.geom.Point2D.Double, java.awt.geom.Point2D.Float |
Fields inherited from class java.awt.Point |
x, y |
Method Summary |
double |
distance(LabelCoordinates other)
Calculate euclidean distance between this point and the other point |
Methods inherited from class java.awt.Point |
equals, getLocation, getX, getY, move, setLocation, setLocation, setLocation, toString, translate |
Methods inherited from class java.awt.geom.Point2D |
clone, distance, distance, distance, distanceSq, distanceSq, distanceSq, hashCode, setLocation |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
label
public java.lang.String label
LabelCoordinates
public LabelCoordinates()
LabelCoordinates
public LabelCoordinates(int x,
int y,
java.lang.String label)
distance
public double distance(LabelCoordinates other)
throws MetricException
- Calculate euclidean distance between this point and the other point
- Throws:
MetricException