deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.crs.projections.azimuthal
Class AzimuthalProjection

java.lang.Object
  extended by org.deegree.crs.Identifiable
      extended by org.deegree.crs.projections.Projection
          extended by org.deegree.crs.projections.azimuthal.AzimuthalProjection
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
LambertAzimuthalEqualArea, StereographicAlternative, StereographicAzimuthal

public abstract class AzimuthalProjection
extends Projection

The AzimuthalProjection class functions as a super class to all azimuthal projections.

(From wikipedia) Azimuthal projections have the property that directions from a central point are preserved (and hence, great circles through the central point are represented by straight lines on the map). Usually these projections also have radial symmetry in the scales and hence in the distortions: map distances from the central point are computed by a function r(d) of the true distance d, independent of the angle; correspondingly, circles with the central point as center are mapped into circles which have as center the central point on the map.

The mapping of radial lines can be visualized by imagining a plane tangent to the Earth, with the central point as tangent point.

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Rutger Bezema, last edited by: $Author: mschneider $
See Also:
Serialized Form

Field Summary
static int EQUATOR
          Defining that the center of this azimuthal projection is at the equator
static int NORTH_POLE
          Defining that the center of this azimuthal projection is at the north pole
static int OBLIQUE
          Defining that the center of this azimuthal projection is oblique
static int SOUTH_POLE
          Defining that the center of this azimuthal projection is at the south pole
 
Constructor Summary
AzimuthalProjection(GeographicCRS geographicCRS, double falseNorthing, double falseEasting, javax.vecmath.Point2d naturalOrigin, Unit units, double scale, boolean conformal, boolean equalArea, Identifiable id)
           
 
Method Summary
 int getMode()
           
 int hashCode()
          Implementation as proposed by Joshua Block in Effective Java (Addison-Wesley 2001), which supplies an even distribution and is relatively fast.
 
Methods inherited from class org.deegree.crs.projections.Projection
doInverseProjection, doProjection, equals, getCosphi0, getDatum, getEccentricity, getEllipsoid, getFalseEasting, getFalseNorthing, getGeographicCRS, getImplementationName, getNaturalOrigin, getPrimeMeridian, getProjectionLatitude, getProjectionLongitude, getScale, getScaleFactor, getSemiMajorAxis, getSemiMinorAxis, getSinphi0, getSquaredEccentricity, getUnits, isConformal, isEqualArea, isSpherical, setFalseEasting, setScale, toString
 
Methods inherited from class org.deegree.crs.Identifiable
checkForNullObject, checkForNullObject, checkForNullObject, getAreaOfUse, getAreaOfUseBBox, getAreasOfUse, getDescription, getDescriptions, getIdAndName, getIdentifier, getIdentifiers, getName, getNames, getVersion, getVersions, hasID
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NORTH_POLE

public static final int NORTH_POLE
Defining that the center of this azimuthal projection is at the north pole

See Also:
Constant Field Values

SOUTH_POLE

public static final int SOUTH_POLE
Defining that the center of this azimuthal projection is at the south pole

See Also:
Constant Field Values

EQUATOR

public static final int EQUATOR
Defining that the center of this azimuthal projection is at the equator

See Also:
Constant Field Values

OBLIQUE

public static final int OBLIQUE
Defining that the center of this azimuthal projection is oblique

See Also:
Constant Field Values
Constructor Detail

AzimuthalProjection

public AzimuthalProjection(GeographicCRS geographicCRS,
                           double falseNorthing,
                           double falseEasting,
                           javax.vecmath.Point2d naturalOrigin,
                           Unit units,
                           double scale,
                           boolean conformal,
                           boolean equalArea,
                           Identifiable id)
Parameters:
geographicCRS -
falseNorthing -
falseEasting -
naturalOrigin -
units -
scale -
conformal -
equalArea -
id - an identifiable instance containing information about this projection
Method Detail

getMode

public final int getMode()
Returns:
the mode.

hashCode

public int hashCode()
Implementation as proposed by Joshua Block in Effective Java (Addison-Wesley 2001), which supplies an even distribution and is relatively fast. It is created from field f as follows:

Combining the hash code(s) computed above: result = 37 * result + code;

Overrides:
hashCode in class Projection
Returns:
(int) ( result >>> 32 ) ^ (int) result;
See Also:
Object.hashCode()

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org