org.gscg.common.geo
Class LatLonDistanceComparator
java.lang.Object
org.gscg.common.geo.LatLonDistanceComparator
- All Implemented Interfaces:
- java.util.Comparator
- public class LatLonDistanceComparator
- extends java.lang.Object
- implements java.util.Comparator
Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
Delft, the Netherlands. All rights reserved.
See for project information
www.simulation.tudelft.nl .
The source code and binary code of this software is proprietary information
of Delft University of Technology.
- Since:
- 1.1.2
- Version:
- $Revision: 1.1 $ $Date: 2005/06/16 12:34:08 $
- Author:
- Stijn-Pieter
van Houten
Constructor Summary |
LatLonDistanceComparator(javax.vecmath.Point2d ownLocation)
constructs a new LatLonDistanceComparator |
Method Summary |
int |
compare(java.lang.Object o1,
java.lang.Object o2)
|
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 |
LatLonDistanceComparator
public LatLonDistanceComparator(javax.vecmath.Point2d ownLocation)
- constructs a new LatLonDistanceComparator
- Parameters:
ownLocation
- the own location to compare two other locations
against and eventually the difference in distance
compare
public int compare(java.lang.Object o1,
java.lang.Object o2)
- Specified by:
compare
in interface java.util.Comparator
- See Also:
Comparator.compare(java.lang.Object, java.lang.Object)
Copyright © 2002-2005 Delft University of Technology, the Netherlands. All Rights Reserved.