com.moximedia.aims
Class AimsProjectionLambertConformalConic

java.lang.Object
  extended bycom.moximedia.aims.AimsProjectionLambertConformalConic
All Implemented Interfaces:
AimsProjection, java.lang.Cloneable, java.io.Serializable

public class AimsProjectionLambertConformalConic
extends java.lang.Object
implements AimsProjection, java.io.Serializable, java.lang.Cloneable

See Also:
Serialized Form

Field Summary
static double EPS10
           
static double FORTPI
           
static double HALFPI
           
static double PI
           
static double TWOPI
           
 
Fields inherited from interface com.moximedia.aims.AimsProjection
ELLIPSOID_CLARK1866, ELLIPSOID_GRS80, UNITS_DECIMAL_DEGREES, UNITS_FEET, UNITS_METERS
 
Constructor Summary
AimsProjectionLambertConformalConic()
          Creates new AimsProjectionLambertConformalConic projection with default settings, including GRS80 ellipsoid (NAD83)
AimsProjectionLambertConformalConic(int ellipsoid, double centralMeridian, double referenceLatitude, double parallel_1, double parallel_2, double falseEasting, double falseNorthing)
           
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String getAlias()
          Return the alias of the projection
 double getEccentricity()
           
 java.lang.String getMapCenterString(AimsPoint geoPoint, double scaleFactor)
          Returns the map center coordinate text.
 java.lang.String getName()
          Return the name of the projection
 java.lang.String getReportString(AimsPoint geoPoint, double scaleFactor)
          Returns the report for the standard identify reports.
 java.lang.String getShortName()
          Return the short name of the projection
 java.lang.String getUnits()
          Return the map units of the projection
 int getUnitsEnumeration()
          Return the map units of the projection
 AimsPoint project(AimsPoint point)
          Project the data in the forward direction
 void setAlias(java.lang.String alias)
          Sets the alias for the projection.
 void setAxlAttribute(java.lang.String tag, java.lang.String name, java.lang.String value)
          Sets one of the attributes of this object using a string value.
 void setCentralMeridian(double value)
           
 void setEllipsoid(int ellipsoid)
          Sets the ellipsoid.
 void setEllipsoid(java.lang.String ellipsoidName)
           
 void setFalseEasting(double value)
           
 void setFalseNorthing(double value)
           
 void setMajorAxis(double value)
           
 void setMinorAxis(double value)
           
 void setName(java.lang.String name)
          Sets the name of the projection
 void setReferenceLatitude(double value)
           
 void setScaleFactor(double value)
           
 void setStandardParallel_1(double value)
           
 void setStandardParallel_2(double value)
           
 void setUnits(java.lang.String units)
           
 java.lang.String toString()
           
 AimsPoint unproject(AimsPoint point)
          Project the data in the reverse direction
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

HALFPI

public static final double HALFPI
See Also:
Constant Field Values

FORTPI

public static final double FORTPI
See Also:
Constant Field Values

PI

public static final double PI
See Also:
Constant Field Values

TWOPI

public static final double TWOPI
See Also:
Constant Field Values

EPS10

public static final double EPS10
See Also:
Constant Field Values
Constructor Detail

AimsProjectionLambertConformalConic

public AimsProjectionLambertConformalConic()
Creates new AimsProjectionLambertConformalConic projection with default settings, including GRS80 ellipsoid (NAD83)


AimsProjectionLambertConformalConic

public AimsProjectionLambertConformalConic(int ellipsoid,
                                           double centralMeridian,
                                           double referenceLatitude,
                                           double parallel_1,
                                           double parallel_2,
                                           double falseEasting,
                                           double falseNorthing)
Method Detail

clone

public java.lang.Object clone()
Specified by:
clone in interface AimsProjection

getName

public java.lang.String getName()
Return the name of the projection

Specified by:
getName in interface AimsProjection
Returns:
The name of the projection.

setName

public void setName(java.lang.String name)
Sets the name of the projection

Specified by:
setName in interface AimsProjection
Parameters:
name - The projection name.

getShortName

public java.lang.String getShortName()
Return the short name of the projection

Specified by:
getShortName in interface AimsProjection
Returns:
The shortname of the projection.

getAlias

public java.lang.String getAlias()
Return the alias of the projection

Specified by:
getAlias in interface AimsProjection
Returns:
The alias of the projection.

getUnitsEnumeration

public int getUnitsEnumeration()
Return the map units of the projection

Specified by:
getUnitsEnumeration in interface AimsProjection
Returns:
The map units of the projection.

getUnits

public java.lang.String getUnits()
Return the map units of the projection

Specified by:
getUnits in interface AimsProjection
Returns:
The map units of the projection.

getReportString

public java.lang.String getReportString(AimsPoint geoPoint,
                                        double scaleFactor)
Returns the report for the standard identify reports.

Specified by:
getReportString in interface AimsProjection
Returns:
The report string.

getMapCenterString

public java.lang.String getMapCenterString(AimsPoint geoPoint,
                                           double scaleFactor)
Returns the map center coordinate text.

Specified by:
getMapCenterString in interface AimsProjection
Returns:
The report string.

project

public AimsPoint project(AimsPoint point)
                  throws java.lang.Exception
Project the data in the forward direction

Specified by:
project in interface AimsProjection
Throws:
java.lang.Exception

unproject

public AimsPoint unproject(AimsPoint point)
                    throws java.lang.Exception
Project the data in the reverse direction

Specified by:
unproject in interface AimsProjection
Throws:
java.lang.Exception

getEccentricity

public double getEccentricity()

setEllipsoid

public void setEllipsoid(int ellipsoid)
Sets the ellipsoid.

Specified by:
setEllipsoid in interface AimsProjection
Parameters:
ellipsoid - Either AimsProjection.ELLIPSOID_GRS80 or AimsProjection.ELLIPSOID_CLARK1866

setAxlAttribute

public void setAxlAttribute(java.lang.String tag,
                            java.lang.String name,
                            java.lang.String value)
Sets one of the attributes of this object using a string value. This method should only be called from the SAX event handler.

Specified by:
setAxlAttribute in interface AimsProjection
Parameters:
tag - The AXL element tag containing this attribute (not used).
name - The AXL attribute name.
value - The AXL attribute value.

setEllipsoid

public void setEllipsoid(java.lang.String ellipsoidName)

setUnits

public void setUnits(java.lang.String units)
Specified by:
setUnits in interface AimsProjection

setMajorAxis

public void setMajorAxis(double value)
Specified by:
setMajorAxis in interface AimsProjection

setMinorAxis

public void setMinorAxis(double value)
Specified by:
setMinorAxis in interface AimsProjection

setCentralMeridian

public void setCentralMeridian(double value)
Specified by:
setCentralMeridian in interface AimsProjection

setReferenceLatitude

public void setReferenceLatitude(double value)
Specified by:
setReferenceLatitude in interface AimsProjection

setStandardParallel_1

public void setStandardParallel_1(double value)
Specified by:
setStandardParallel_1 in interface AimsProjection

setStandardParallel_2

public void setStandardParallel_2(double value)
Specified by:
setStandardParallel_2 in interface AimsProjection

setFalseEasting

public void setFalseEasting(double value)
Specified by:
setFalseEasting in interface AimsProjection

setFalseNorthing

public void setFalseNorthing(double value)
Specified by:
setFalseNorthing in interface AimsProjection

setScaleFactor

public void setScaleFactor(double value)
Specified by:
setScaleFactor in interface AimsProjection

toString

public java.lang.String toString()
Specified by:
toString in interface AimsProjection

setAlias

public void setAlias(java.lang.String alias)
Sets the alias for the projection.

Specified by:
setAlias in interface AimsProjection
Parameters:
alias - The alias.