| java.lang.Object org.cougaar.glm.util.GeoUtils
GeoUtils | public class GeoUtils (Code) | | A class containing static methods for geographic computations,
particularly those related to great-circle distance calculations
|
EARTH_CIRCUMFERENCE | final public static double EARTH_CIRCUMFERENCE(Code) | | |
EARTH_RADIUS | final public static double EARTH_RADIUS(Code) | | |
DistanceBetweenPositions | public static Distance DistanceBetweenPositions(Position position1, Position position2)(Code) | | Compute great-circle distance (expressed as COUGAAR Distance measure)
between two points on globe (expressed as COUGAAR Position)
Parameters: position1 - of first point Parameters: position2 - of second point Distance of great-circle distance between points |
DistanceBetweenPositions | public static double DistanceBetweenPositions(double latitude1, double longitude1, double latitude2, double longitude2)(Code) | | Compute great-circle distance in KM between two points on globe
expressed as latitude and longitude.
Parameters: latitude1 - of first point (degrees) Parameters: longitude1 - of first point (degrees) Parameters: latitude2 - of second point (degrees) Parameters: longitude2 - of second point (degrees) double great-circle distance between two points |
|
|