org.geotools.ct.proj
Class PolarStereographic

java.lang.Object
  extended byorg.geotools.ct.AbstractMathTransform
      extended byorg.geotools.ct.proj.MapProjection
          extended byorg.geotools.ct.proj.PlanarProjection
              extended byorg.geotools.ct.proj.Stereographic
                  extended byorg.geotools.ct.proj.PolarStereographic
All Implemented Interfaces:
MathTransform, MathTransform2D, java.io.Serializable

public class PolarStereographic
extends Stereographic

The polar case of the stereographic projection. This default implementation uses USGS equation (i.e. iteration) for computing the inverse transform.

Version:
$Id: PolarStereographic.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Andr? Gosselin, Martin Desruisseaux, Rueben Schulz
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.ct.proj.MapProjection
centralMeridian, e, es, falseEasting, falseNorthing, globalScale, isSpherical, latitudeOfOrigin, scaleFactor, semiMajor, semiMinor
 
Fields inherited from interface org.geotools.ct.MathTransform2D
IDENTITY
 
Constructor Summary
protected PolarStereographic(Projection parameters)
          Deprecated. Construct a polar stereographic projection.
 
Method Summary
 boolean equals(java.lang.Object object)
          Deprecated. Compares the specified object with this map projection for equality.
 int hashCode()
          Deprecated. Returns a hash value for this map projection.
protected  java.awt.geom.Point2D inverseTransformNormalized(double x, double y, java.awt.geom.Point2D ptDst)
          Deprecated. Transforms the specified (x,y) coordinate (units in meters) and stores the result in ptDst (linear distance on a unit sphere).
protected  java.awt.geom.Point2D transformNormalized(double x, double y, java.awt.geom.Point2D ptDst)
          Deprecated. Transforms the specified (x,y) coordinate (units in radians) and stores the result in ptDst (linear distance on a unit sphere).
 
Methods inherited from class org.geotools.ct.proj.Stereographic
getName
 
Methods inherited from class org.geotools.ct.proj.MapProjection
getDimSource, getDimTarget, inverse, toString, transform, transform, transform
 
Methods inherited from class org.geotools.ct.AbstractMathTransform
createTransformedShape, derivative, derivative, fromGeoAPI, isIdentity, transform
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.geotools.ct.MathTransform2D
createTransformedShape, derivative
 
Methods inherited from interface org.geotools.ct.MathTransform
derivative, isIdentity, transform
 

Constructor Detail

PolarStereographic

protected PolarStereographic(Projection parameters)
                      throws MissingParameterException
Deprecated. 
Construct a polar stereographic projection.

Parameters:
parameters - The parameter values in standard units.
Throws:
MissingParameterException - if a mandatory parameter is missing.
Method Detail

transformNormalized

protected java.awt.geom.Point2D transformNormalized(double x,
                                                    double y,
                                                    java.awt.geom.Point2D ptDst)
                                             throws ProjectionException
Deprecated. 
Transforms the specified (x,y) coordinate (units in radians) and stores the result in ptDst (linear distance on a unit sphere).

Specified by:
transformNormalized in class MapProjection
Parameters:
x - The longitude in radians.
y - The latitude in radians.
ptDst - The destination point, or null.
Returns:
The projected point as a linear distance on a unit sphere.
Throws:
ProjectionException - if the projection failed.

inverseTransformNormalized

protected java.awt.geom.Point2D inverseTransformNormalized(double x,
                                                           double y,
                                                           java.awt.geom.Point2D ptDst)
                                                    throws ProjectionException
Deprecated. 
Transforms the specified (x,y) coordinate (units in meters) and stores the result in ptDst (linear distance on a unit sphere).

Specified by:
inverseTransformNormalized in class MapProjection
Parameters:
x - The x ordinate as a linear distance.
y - The y ordinate as a linear distance.
ptDst - The destination point, or null.
Returns:
The geographic point in radians.
Throws:
ProjectionException - if the projection failed.

hashCode

public int hashCode()
Deprecated. 
Returns a hash value for this map projection.

Overrides:
hashCode in class MapProjection

equals

public boolean equals(java.lang.Object object)
Deprecated. 
Compares the specified object with this map projection for equality.

Overrides:
equals in class MapProjection


Copyright © GeoTools. All Rights Reserved.