public class NumericArgUtils extends Object
Constructor and Description |
---|
NumericArgUtils() |
Modifier and Type | Method and Description |
---|---|
static double |
deltaLat(double d,
double lat,
double lang)
Answer a delta in degrees latitude which corresponds to the distance
d [in miles] in the vicinity of the point at latitude lat
and longitude lang.
|
static double |
deltaLong(double d,
double lat,
double lang)
Answer a delta in degrees longitude which corresponds to the distance
d [in miles] in the vicinity of the point at latitude lat
and longitude lang.
|
static float |
milesToDegrees(float miles) |
static double |
readDegrees(String param,
String arg) |
static double |
readMiles(String arg)
Answer a distance in miles as expressed by arg in Double format.
|
static double |
readNumber(String param,
String arg,
double low,
double high) |
public static float milesToDegrees(float miles)
public static double readMiles(String arg)
public static double deltaLat(double d, double lat, double lang)
public static double deltaLong(double d, double lat, double lang)
Copyright © 2014. All Rights Reserved.