org.geotools.referencing.operation.projection
Class EquatorialOrthographic
Object
Formattable
AbstractMathTransform
MapProjection
Orthographic
ObliqueOrthographic
EquatorialOrthographic
- All Implemented Interfaces:
- Serializable, MathTransform, MathTransform2D
public class EquatorialOrthographic
- extends ObliqueOrthographic
The equatorial case of the Orthographic
projection. This is a
simplification of the oblique case for MapProjection.latitudeOfOrigin
== 0.0.
Only the spherical form is given here.
- Since:
- 2.4
- Author:
- Rueben Schulz
- See Also:
- Serialized Form
- Module:
modules/library/referencing (gt-referencing.jar)
Fields inherited from class MapProjection |
centralMeridian, en0, en1, en2, en3, en4, excentricity, excentricitySquared, falseEasting, falseNorthing, globalScale, isSpherical, latitudeOfOrigin, LOGGER, scaleFactor, semiMajor, semiMinor |
Method Summary |
protected Point2D |
inverseTransformNormalized(double x,
double y,
Point2D ptDst)
Transforms the specified (x,y) coordinates
and stores the result in ptDst . |
protected Point2D |
transformNormalized(double x,
double y,
Point2D ptDst)
Transforms the specified (λ,φ) coordinates
(units in radians) and stores the result in ptDst (linear distance
on a unit sphere). |
Methods inherited from class MapProjection |
getParameterValues, getSourceDimensions, getTargetDimensions, getToleranceForAssertions, hashCode, inv_mlfn, inverse, mlfn, resetWarnings, transform, transform, transform |
Methods inherited from class AbstractMathTransform |
createTransformedShape, derivative, derivative, ensureNonNull, formatWKT, getName, isIdentity, needCopy, rollLongitude, transform, transform, transform |
EquatorialOrthographic
protected EquatorialOrthographic(ParameterValueGroup parameters)
throws ParameterNotFoundException
- Constructs an equatorial orthographic projection.
- Parameters:
parameters
- The parameter values in standard units.
- Throws:
ParameterNotFoundException
- if a mandatory parameter is missing.
transformNormalized
protected Point2D transformNormalized(double x,
double y,
Point2D ptDst)
throws ProjectionException
- Transforms the specified (λ,φ) coordinates
(units in radians) and stores the result in
ptDst
(linear distance
on a unit sphere).
- Overrides:
transformNormalized
in class ObliqueOrthographic
- 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 (
lambda
, phi
)
and storing the result in ptDst
.
- Throws:
ProjectionException
- if the point can't be transformed.
inverseTransformNormalized
protected Point2D inverseTransformNormalized(double x,
double y,
Point2D ptDst)
throws ProjectionException
- Transforms the specified (x,y) coordinates
and stores the result in
ptDst
.
- Overrides:
inverseTransformNormalized
in class ObliqueOrthographic
- 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 © 1996-2010 Geotools. All Rights Reserved.