com.moximedia.aims
Class AimsProjectionUTM
java.lang.Object
com.moximedia.aims.AimsProjectionUTM
- All Implemented Interfaces:
- java.io.Serializable
- public class AimsProjectionUTM
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
|
Method Summary |
static double[] |
project(double dd_lon,
double dd_lat)
Projects a geographic point to UTM |
static AimsPoint |
unproject(AimsPoint utmPt,
double zone)
Projects a UTM point to geographic |
static double[] |
unproject(double x,
double y,
double zone)
Projects a UTM point to geographic |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PI
public static double PI
TWO_PI
public static double TWO_PI
HALF_PI
public static double HALF_PI
EPSLN
public static double EPSLN
R2D
public static double R2D
D2R
public static double D2R
AimsProjectionUTM
public AimsProjectionUTM()
- Do not use. For serialization only.
project
public static double[] project(double dd_lon,
double dd_lat)
- Projects a geographic point to UTM
- Parameters:
dd_lon - The longitude.dd_lat - The latitude.
- Returns:
- An array containing the projected coordinate. The first element
is the x value, the second element is the y value, the third
element is the zone.
unproject
public static AimsPoint unproject(AimsPoint utmPt,
double zone)
throws java.lang.Exception
- Projects a UTM point to geographic
- Parameters:
utmPt - An AimsPoint object containing a UTM coordinate.zone - The UTM zone.
- Returns:
- An AimsPoint object containing the unprojected coordinate.
- Throws:
java.lang.Exception
unproject
public static double[] unproject(double x,
double y,
double zone)
throws java.lang.Exception
- Projects a UTM point to geographic
- Parameters:
x - The UTM x value.y - The UTM y value.zone - The UTM zone.
- Returns:
- An AimsPoint object containing the unprojected coordinate.
- Throws:
java.lang.Exception