at.tuwien.ifs.somtoolbox.visualization.thematicmap
Class Segment
java.lang.Object
at.tuwien.ifs.somtoolbox.visualization.thematicmap.Segment
public class Segment
- extends java.lang.Object
- Version:
- $Id: Segment.java 3358 2010-02-11 14:35:07Z mayer $
- Author:
- Taha Abdel Aziz
Constructor Summary |
Segment(edu.cornell.cs.voronoi.IPnt end1,
edu.cornell.cs.voronoi.IPnt end2)
Creates a new instance of Segment |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
end1
public edu.cornell.cs.voronoi.IPnt end1
end2
public edu.cornell.cs.voronoi.IPnt end2
neighborRegion
public SOMRegion neighborRegion
Segment
public Segment(edu.cornell.cs.voronoi.IPnt end1,
edu.cornell.cs.voronoi.IPnt end2)
- Creates a new instance of Segment
draw
public void draw(java.awt.Graphics2D g)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
flip
public void flip()
getMidPoint
public edu.cornell.cs.voronoi.Pnt getMidPoint()
getPointFrom
public edu.cornell.cs.voronoi.IPnt getPointFrom(int from,
double distance)
getLength
public double getLength()