org.geotools.ct.proj
Class PolarOrthographic

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.Orthographic
                  extended byorg.geotools.ct.proj.PolarOrthographic
All Implemented Interfaces:
MathTransform, MathTransform2D, java.io.Serializable

public class PolarOrthographic
extends Orthographic

The polar case of the Orthographic projection. Only the spherical form is given here.

Version:
$Id: PolarOrthographic.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
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 PolarOrthographic(Projection parameters)
          Deprecated. Construct a polar orthographic projection.
 
Method Summary
protected  java.awt.geom.Point2D inverseTransformNormalized(double x, double y, java.awt.geom.Point2D ptDst)
          Deprecated. Transforms the specified (x,y) coordinate and stores the result in ptDst.
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.Orthographic
equals, getName
 
Methods inherited from class org.geotools.ct.proj.MapProjection
getDimSource, getDimTarget, hashCode, 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

PolarOrthographic

protected PolarOrthographic(Projection parameters)
                     throws MissingParameterException
Deprecated. 
Construct a polar orthographic 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 of the coordinate, in radians.
y - The latitude of the coordinate, in radians.
ptDst - the specified coordinate point that stores the result of transforming ptSrc, or null. Ordinates will be in a dimensionless unit, as a linear distance on a unit sphere or ellipse.
Returns:
the coordinate point after transforming x, y and storing the result in ptDst.
Throws:
ProjectionException - if the point can't be transformed.

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 and stores the result in ptDst.

Specified by:
inverseTransformNormalized in class MapProjection
Parameters:
x - The easting of the coordinate, linear distance on a unit sphere or ellipse.
y - The northing of the coordinate, linear distance on a unit sphere or ellipse.
ptDst - the specified coordinate point that stores the result of transforming ptSrc, or null. Ordinates will be in radians.
Returns:
the coordinate point after transforming x, y and storing the result in ptDst.
Throws:
ProjectionException - if the point can't be transformed.


Copyright © GeoTools. All Rights Reserved.