|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgps.convert.Conv
public final class Conv
Implement some conversion functions
Constructor Summary | |
---|---|
Conv()
|
Method Summary | |
---|---|
static double |
bilinear(double x1,
double y1,
double x2,
double y2,
double x,
double y,
double z11,
double z12,
double z21,
double z22)
|
static double |
calcR(double p_lat)
|
static double |
earthDistance(double lat1,
double lon1,
double lat2,
double lon2)
|
static int |
hex2Int(java.lang.String hexStr)
Convert a string in hexadecimal to the corresponding int. |
static int |
hex2SignedInt(java.lang.String hexStr)
Convert a string in hexadecimal to the corresponding int. |
static int |
hexStringToBytes(java.lang.String hexStr,
byte[] buffer)
Convert a string in hexadecimal to a list of bytes |
static double |
rad2deg(double x)
|
static void |
setGeoidIF(GeoidIF geoidIF)
Set the class to use for geoid calculation. |
static double |
wgs84Separation(double lat,
double lon)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Conv()
Method Detail |
---|
public static final int hexStringToBytes(java.lang.String hexStr, byte[] buffer)
hexStr
- Hexadecimal representation of bytes
public static final int hex2Int(java.lang.String hexStr)
hexStr
- Hexadecimal representation of bytes
public static final int hex2SignedInt(java.lang.String hexStr)
hexStr
- Hexadecimal representation of bytes
public static final double bilinear(double x1, double y1, double x2, double y2, double x, double y, double z11, double z12, double z21, double z22)
public static final void setGeoidIF(GeoidIF geoidIF)
geoidIF
- public static final double wgs84Separation(double lat, double lon)
public static final double rad2deg(double x)
public static final double earthDistance(double lat1, double lon1, double lat2, double lon2)
public static final double calcR(double p_lat)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |