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:
- Serializable, Cloneable
public class LabelCoordinates
- extends Point
- Version:
- $Id: LabelCoordinates.java 3358 2010-02-11 14:35:07Z mayer $
- Author:
- Doris Baum
- See Also:
- Serialized Form
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 |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
label
public String label
LabelCoordinates
public LabelCoordinates()
LabelCoordinates
public LabelCoordinates(int x,
int y,
String label)
distance
public double distance(LabelCoordinates other)
throws MetricException
- Calculate euclidean distance between this point and the other point
- Throws:
MetricException