com.moximedia.aims
Class AimsProjectionBCAlbers

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

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

See Also:
Serialized Form

Constructor Summary
AimsProjectionBCAlbers()
          Do not use.
 
Method Summary
static AimsPoint project(AimsPoint geoPt)
          Projects a geographic point to BC Albers
static double[] project(double lon, double lat)
          Projects a geographic point to BC Albers
static AimsPoint unproject(AimsPoint albPt)
          Projects a BC Albers point to geographic
static double[] unproject(double x, double y)
          Projects a BC Albers point to geographic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AimsProjectionBCAlbers

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

Method Detail

project

public static AimsPoint project(AimsPoint geoPt)
Projects a geographic point to BC Albers

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

project

public static double[] project(double lon,
                               double lat)
Projects a geographic point to BC Albers

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 albPt)
Projects a BC Albers point to geographic

Returns:
An AimsPoint object containing the unprojected coordinate.

unproject

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

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