com.partnersoft.geometry.projection
Class AlbersEqualArea

java.lang.Object
  extended by com.partnersoft.geometry.projection.Projection
      extended by com.partnersoft.geometry.projection.StandardProjection
          extended by com.partnersoft.geometry.projection.AlbersEqualArea
All Implemented Interfaces:
Coggable, ProjectionConstants

public class AlbersEqualArea
extends StandardProjection

Author:
Paul Reavis Copyright 2004 Partner Software, Inc.

Field Summary
 
Fields inherited from class com.partnersoft.geometry.projection.StandardProjection
a, b, datum, e, ellipsoid, es, esp, initialized, lam0, NAD27, NAD83, originLatitude, originLongitude, originX, originY, phi0
 
Fields inherited from interface com.partnersoft.geometry.projection.ProjectionConstants
ATOL, DEG2RAD, EPSILON, FOURTHPI, HALFPI, ONE_TOL, PI, RAD2DEG, TOL, TWOPI
 
Constructor Summary
AlbersEqualArea()
           
 
Method Summary
 double getStandardLatitude1()
          First (North) standard latitude.
 double getStandardLatitude2()
          Second (South) standard latitude.
protected  void initializeImp()
           
 void project(Point point)
          Project from latlong to xy.
 void reverse(Point point)
          Reverse project from xy to latlong.
 void setStandardLatitude1(double newStandardLatitude1)
          First (North) standard latitude.
 void setStandardLatitude2(double newStandardLatitude2)
          Second (South) standard latitude.
 
Methods inherited from class com.partnersoft.geometry.projection.StandardProjection
aacos, aasin, aatan2, abs, asin, asqrt, atan, atan2, cos, getDatum, getEllipsoid, getOriginLatitude, getOriginLongitude, getOriginX, getOriginY, getState, gpsToProjection, hypot, initialize, log, pj_enfn, pj_msfn, pj_phi2, pj_qsfn, pj_tsfn, pow, projectionToGPS, setDatum, setEllipsoid, setOriginLatitude, setOriginLongitude, setOriginX, setOriginY, setState, sin, sqrt, tan, toDegrees, toRadians
 
Methods inherited from class com.partnersoft.geometry.projection.Projection
project, project, projectFeet, projectFeet, projectFeet, reverse, reverse, reverseFeet, reverseFeet, reverseFeet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlbersEqualArea

public AlbersEqualArea()
Method Detail

initializeImp

protected void initializeImp()
Specified by:
initializeImp in class StandardProjection

project

public void project(Point point)
Description copied from class: Projection
Project from latlong to xy. Modifies the input Point. Remember that Point.x is longitude, Point.y is latitude.

Specified by:
project in class Projection

reverse

public void reverse(Point point)
Description copied from class: Projection
Reverse project from xy to latlong. Results are returned with point.x = long, point.y = lat. Modifies input.

Specified by:
reverse in class Projection

getStandardLatitude1

public double getStandardLatitude1()
First (North) standard latitude.


setStandardLatitude1

public void setStandardLatitude1(double newStandardLatitude1)
First (North) standard latitude.


getStandardLatitude2

public double getStandardLatitude2()
Second (South) standard latitude.


setStandardLatitude2

public void setStandardLatitude2(double newStandardLatitude2)
Second (South) standard latitude.