org.geotools.ct.proj
Class PolarStereographic
java.lang.Object
org.geotools.ct.AbstractMathTransform
org.geotools.ct.proj.MapProjection
org.geotools.ct.proj.PlanarProjection
org.geotools.ct.proj.Stereographic
org.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
Fields inherited from class org.geotools.ct.proj.MapProjection |
centralMeridian, e, es, falseEasting, falseNorthing, globalScale, isSpherical, latitudeOfOrigin, scaleFactor, semiMajor, semiMinor |
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 java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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.
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.