org.deegree.cs.projections.azimuthal
Class AzimuthalProjection

java.lang.Object
  extended by org.deegree.cs.CRSIdentifiable
      extended by org.deegree.cs.projections.Projection
          extended by org.deegree.cs.projections.azimuthal.AzimuthalProjection
All Implemented Interfaces:
Object, TypedObjectNode, CRSResource, IProjection
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: 30120 $, $Date: 2011-03-22 10:04:15 +0100 (Tue, 22 Mar 2011) $
Author:
Rutger Bezema, last edited by: $Author: aschmitz $

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(double falseNorthing, double falseEasting, javax.vecmath.Point2d naturalOrigin, IUnit units, double scale, boolean conformal, boolean equalArea, CRSResource 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.cs.projections.Projection
doInverseProjection, doProjection, equals, getCosphi0, getEccentricity, getEllipsoid, getFalseEasting, getFalseNorthing, getImplementationName, getNaturalOrigin, getPrimeMeridian, getProjectionLatitude, getProjectionLongitude, getScale, getScaleFactor, getSemiMajorAxis, getSemiMinorAxis, getSinphi0, getSquaredEccentricity, getUnits, isConformal, isEqualArea, isSpherical, setFalseEasting, setScale, toString
 
Methods inherited from class org.deegree.cs.CRSIdentifiable
addAreaOfUse, addName, checkForNullObject, checkForNullObject, checkForNullObject, getAreaOfUse, getAreaOfUseBBox, getAreasOfUse, getCode, getCodeAndName, getCodes, getDescription, getDescriptions, getId, getName, getNames, getOrignalCodeStrings, getVersion, getVersions, hasCode, hasId, hasIdOrName, setDefaultAreaOfUse, setDefaultDescription, setDefaultId, setDefaultName, setDefaultVersion
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.deegree.cs.CRSResource
addAreaOfUse, addName, getAreaOfUse, getAreaOfUseBBox, getAreasOfUse, getCode, getCodeAndName, getCodes, getDescription, getDescriptions, getName, getNames, getOrignalCodeStrings, getVersion, getVersions, hasCode, hasId, hasIdOrName, setDefaultAreaOfUse, setDefaultDescription, setDefaultId, setDefaultName, setDefaultVersion
 
Methods inherited from interface org.deegree.commons.tom.Object
getId
 

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(double falseNorthing,
                           double falseEasting,
                           javax.vecmath.Point2d naturalOrigin,
                           IUnit units,
                           double scale,
                           boolean conformal,
                           boolean equalArea,
                           CRSResource 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()


Copyright © 2011. All Rights Reserved.