org.geotools.referencing.operation.projection
Class Orthographic
java.lang.Object
org.geotools.referencing.wkt.Formattable
org.geotools.referencing.operation.transform.AbstractMathTransform
org.geotools.referencing.operation.projection.MapProjection
org.geotools.referencing.operation.projection.Orthographic
- All Implemented Interfaces:
- java.io.Serializable, org.opengis.referencing.operation.MathTransform, org.opengis.referencing.operation.MathTransform2D
- Direct Known Subclasses:
- ObliqueOrthographic, PolarOrthographic
public abstract class Orthographic
- extends MapProjection
Orthographic Projection. This is a perspective azimuthal (planar) projection
that is neither conformal nor equal-area. It resembles a globe and only
one hemisphere can be seen at a time, since it is
a perspectiove projection from infinite distance. While not useful for
accurate measurements, this projection is useful for pictorial views of the
world. Only the spherical form is given here.
NOTE:
formulae used below are from a port, to java, of the proj
package of the USGS survey. USGS work is acknowledged here.
References:
- Proj-4.4.7 available at www.remotesensing.org/proj
Relevant files are: PJ_ortho.c
, pj_fwd.c
and pj_inv.c
.
- John P. Snyder (Map Projections - A Working Manual,
U.S. Geological Survey Professional Paper 1395, 1987)
- Since:
- 2.1
- Version:
- $Id: Orthographic.java 34859 2010-02-03 19:30:23Z aaime $
- Author:
- Rueben Schulz
- See Also:
- Orthographic projection on mathworld.wolfram.com,
"Orthographic" on www.remotesensing.org,
Serialized Form
Fields inherited from class org.geotools.referencing.operation.projection.MapProjection |
centralMeridian, en0, en1, en2, en3, en4, excentricity, excentricitySquared, falseEasting, falseNorthing, globalScale, isSpherical, latitudeOfOrigin, LOGGER, scaleFactor, semiMajor, semiMinor |
Constructor Summary |
protected |
Orthographic(org.opengis.parameter.ParameterValueGroup parameters)
Creates a transform from the specified group of parameter values. |
Method Summary |
boolean |
equals(java.lang.Object object)
Compares the specified object with this map projection for equality. |
org.opengis.parameter.ParameterDescriptorGroup |
getParameterDescriptors()
Returns the parameter descriptors for this map projection. |
Methods inherited from class org.geotools.referencing.operation.projection.MapProjection |
getParameterValues, getSourceDimensions, getTargetDimensions, getToleranceForAssertions, hashCode, inv_mlfn, inverse, inverseTransformNormalized, mlfn, resetWarnings, transform, transform, transform, transformNormalized |
Methods inherited from class org.geotools.referencing.operation.transform.AbstractMathTransform |
createTransformedShape, derivative, derivative, ensureNonNull, formatWKT, getName, isIdentity, needCopy, rollLongitude, transform, transform, transform |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.opengis.referencing.operation.MathTransform2D |
createTransformedShape, derivative |
Methods inherited from interface org.opengis.referencing.operation.MathTransform |
derivative, isIdentity, toWKT, transform, transform, transform |
Orthographic
protected Orthographic(org.opengis.parameter.ParameterValueGroup parameters)
throws org.opengis.parameter.ParameterNotFoundException
- Creates a transform from the specified group of parameter values.
- Parameters:
parameters
- The group of parameter values.
- Throws:
org.opengis.parameter.ParameterNotFoundException
- if a required parameter was not found.- Since:
- 2.4
getParameterDescriptors
public org.opengis.parameter.ParameterDescriptorGroup getParameterDescriptors()
- Returns the parameter descriptors for this map projection.
This is used for a providing a default implementation of
MapProjection.getParameterValues()
, as well as arguments checking.
- Specified by:
getParameterDescriptors
in class MapProjection
- Returns:
- The parameter descriptors for this math transform, or
null
. - See Also:
OperationMethod.getParameters()
equals
public boolean equals(java.lang.Object object)
- Compares the specified object with this map projection for equality.
- Overrides:
equals
in class MapProjection
- Parameters:
object
- The object to compare with this transform.
- Returns:
true
if the given object is a transform of the same class
and if, given identical source position, the
transformed
position would be the equals.
Copyright © 1996-2010 Geotools. All Rights Reserved.