at.tuwien.ifs.somtoolbox.visualization.thematicmap
Class SegDistComperator
java.lang.Object
at.tuwien.ifs.somtoolbox.visualization.thematicmap.SegDistComperator
- All Implemented Interfaces:
- java.util.Comparator<Grid>
public class SegDistComperator
- extends java.lang.Object
- implements java.util.Comparator<Grid>
- Version:
- $Id: SegDistComperator.java 3883 2010-11-02 17:13:23Z frank $
- Author:
- Taha Abdel Aziz
Field Summary |
(package private) java.awt.geom.Line2D |
line
|
(package private) java.awt.geom.Point2D |
pnt1
|
(package private) java.awt.geom.Point2D |
pnt2
|
(package private) Segment |
segment
|
(package private) double |
weight1
|
(package private) double |
weight2
|
Constructor Summary |
SegDistComperator(Segment segment,
double weight1,
double weight2)
Creates a new instance of SegDistComperator |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
equals |
segment
Segment segment
line
java.awt.geom.Line2D line
pnt1
java.awt.geom.Point2D pnt1
pnt2
java.awt.geom.Point2D pnt2
weight1
double weight1
weight2
double weight2
SegDistComperator
public SegDistComperator(Segment segment,
double weight1,
double weight2)
- Creates a new instance of SegDistComperator
compare
public int compare(Grid grid1,
Grid grid2)
- Specified by:
compare
in interface java.util.Comparator<Grid>