com.moximedia.aims
Class AimsProjection10TM

java.lang.Object
  extended bycom.moximedia.aims.AimsProjection10TM
All Implemented Interfaces:
java.io.Serializable

public class AimsProjection10TM
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
AimsProjection10TM()
          Do not use.
 
Method Summary
static AimsPoint project(AimsPoint geoPt)
          Projects a geographic point to 10TM
static double[] project(double dd_lon, double dd_lat)
          Projects a geographic point to 10TM
static AimsPoint unproject(AimsPoint tenTmPt)
          Projects a 10TM point to geographic
static double[] unproject(double x, double y)
          Projects a 10TM point to geographic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AimsProjection10TM

public AimsProjection10TM()
Do not use. For serialization only.

Method Detail

project

public static AimsPoint project(AimsPoint geoPt)
Projects a geographic point to 10TM

Parameters:
geoPt - An AimsPoint object containing geographic coordinates.
Returns:
An AimsPoint object containing the projected coordinate.

project

public static double[] project(double dd_lon,
                               double dd_lat)
Projects a geographic point to 10TM

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.

unproject

public static AimsPoint unproject(AimsPoint tenTmPt)
Projects a 10TM point to geographic

Parameters:
tenTmPt - An AimsPoint object containing a 10TM coordinate.
Returns:
An AimsPoint object containing the unprojected coordinate.

unproject

public static double[] unproject(double x,
                                 double y)
                          throws java.lang.Exception
Projects a 10TM point to geographic

Parameters:
x - The 10TM x value.
y - The 10TM y value.
Returns:
An AimsPoint object containing the unprojected coordinate.
Throws:
java.lang.Exception