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

org.deegree.crs.projections.conic
Class ConicProjection

java.lang.Object
  extended by org.deegree.crs.Identifiable
      extended by org.deegree.crs.projections.Projection
          extended by org.deegree.crs.projections.conic.ConicProjection
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
LambertConformalConic

public abstract class ConicProjection
extends Projection

The ConicProjection is a super class for all conic projections.

(From Snyder p.97)

To show a region for which the greatest extent is from east to west in the temperate zones, conic projections are usually preferable to cylindrical projections.

Normal conic projections are distinguished by the use of arcs of concentric circles for parallesl of latitude and equally spaced straight radii of these circles for meridians. The angles between the meridians on the map are smaller than the actual differences in longitude. The circular arcs may or may not be equally spaced, depending on the projections. The polyconic projections and the oblique conic projections have characteristcs different from these.

There are three important classes of conic projections:

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

Constructor Summary
ConicProjection(double firstParallelLatitude, double secondParallelLatitude, GeographicCRS geographicCRS, double falseNorthing, double falseEasting, javax.vecmath.Point2d naturalOrigin, Unit units, double scale, boolean conformal, boolean equalArea, Identifiable id)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 double getFirstParallelLatitude()
           
 double getSecondParallelLatitude()
           
 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, 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
 

Constructor Detail

ConicProjection

public ConicProjection(double firstParallelLatitude,
                       double secondParallelLatitude,
                       GeographicCRS geographicCRS,
                       double falseNorthing,
                       double falseEasting,
                       javax.vecmath.Point2d naturalOrigin,
                       Unit units,
                       double scale,
                       boolean conformal,
                       boolean equalArea,
                       Identifiable id)
Parameters:
firstParallelLatitude - the latitude (in radians) of the first parallel. (Snyder phi_1).
secondParallelLatitude - the latitude (in radians) of the second parallel. (Snyder phi_2).
geographicCRS -
falseNorthing -
falseEasting -
naturalOrigin -
units -
scale -
conformal -
equalArea -
id - an identifiable instance containing information about this projection
Method Detail

getFirstParallelLatitude

public final double getFirstParallelLatitude()
Returns:
the latitude of the first parallel which is the intersection of the earth with the cone or the projectionLatitude if the cone is tangential with earth (e.g. one standard parallel).

getSecondParallelLatitude

public final double getSecondParallelLatitude()
Returns:
the latitude of the first parallel which is the intersection of the earth with the cone or the projectionLatitude if the cone is tangential with earth (e.g. one standard parallel).

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class Projection

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