at.tuwien.ifs.somtoolbox.visualization.thematicmap
Class Segment
java.lang.Object
at.tuwien.ifs.somtoolbox.visualization.thematicmap.Segment
public class Segment
- extends 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 |
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(Graphics2D g)
toString
public String toString()
- Overrides:
toString
in class 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()