org.geotoolkit.referencing.operation.projection
Class Polyconic
Object
FormattableObject
AbstractMathTransform
AbstractMathTransform2D
UnitaryProjection
Polyconic
- All Implemented Interfaces:
- Serializable, Formattable, Parameterized, LenientComparable, MathTransform, MathTransform2D
@Immutable
public class Polyconic
- extends UnitaryProjection
American Polyconic Projection (EPSG codes 9818). See the
Polyconic projection on MathWorld
for an overview. See the following provider for a list of programmatic parameters:
Description
- Neither conformal nor equal-area.
- Parallels of latitude (except for Equator) are arcs of circles, but are not concentrics.
- Central Meridian and Equator are straight lines; all other meridians are complex curves.
- Scale is true along each parallel and along the central meridian, but no parallel is "standard".
- Free of distortion only along the central meridian.
References
- John P. Snyder (Map Projections - A Working Manual,
U.S. Geological Survey Professional Paper 1395, 1987)
- "Coordinate Conversions and Transformations including Formulas",
EPSG Guidance Note Number 7, Version 40.
- Since:
- 3.11
- Version:
- 3.19
- Author:
- Simon Reynard (Geomatys), Martin Desruisseaux (Geomatys), Rémi Maréchal (Geomatys)
- See Also:
- Serialized Form
- Module:
|
Method Summary |
static MathTransform2D |
create(ParameterDescriptorGroup descriptor,
ParameterValueGroup values)
Creates a Polyconic projection from the given parameters. |
Matrix |
derivative(Point2D point)
Gets the derivative of this transform at a point. |
protected void |
inverseTransform(double[] srcPts,
int srcOff,
double[] dstPts,
int dstOff)
Transforms the specified (x,y) coordinates
and stores the result in dstPts (angles in radians). |
protected void |
transform(double[] srcPts,
int srcOff,
double[] dstPts,
int dstOff)
Transforms the specified (λ,φ) coordinates
(units in radians) and stores the result in dstPts (linear distance
on a unit sphere). |
| Methods inherited from class AbstractMathTransform |
createTransformedShape, derivative, ensureNonNull, equals, formatWKT, getName, hashCode, isIdentity, rollLongitude, transform, transform, transform, transform |
Polyconic
protected Polyconic(UnitaryProjection.Parameters parameters)
- Constructs a new map projection from the supplied parameters.
- Parameters:
parameters - The parameters of the projection to be created.
create
public static MathTransform2D create(ParameterDescriptorGroup descriptor,
ParameterValueGroup values)
- Creates a Polyconic projection from the given parameters. The descriptor argument is
usually
Polyconic.PARAMETERS,
but is not restricted to. If a different descriptor is supplied, it is user's responsibility
to ensure that it is suitable to a Polyconic projection.
- Parameters:
descriptor - Typically one of Polyconic.PARAMETERS.values - The parameter values of the projection to create.
- Returns:
- The map projection.
transform
protected void transform(double[] srcPts,
int srcOff,
double[] dstPts,
int dstOff)
throws ProjectionException
- Transforms the specified (λ,φ) coordinates
(units in radians) and stores the result in
dstPts (linear distance
on a unit sphere).
Note: This method produces NaN at poles in the spherical cases
(may occur if assertions are enabled).
- Specified by:
transform in class UnitaryProjection
- Parameters:
srcPts - The array containing the source point coordinate, as (longitude,
latitude) angles in radians.srcOff - The offset of the point to be converted in the source array.dstPts - the array into which the converted point coordinate is returned (may be
the same than srcPts). Ordinates will be in a dimensionless unit,
as a linear distance on a unit sphere or ellipse.dstOff - The offset of the location of the converted point that is
stored in the destination array.
- Throws:
ProjectionException - if the point can't be converted.
inverseTransform
protected void inverseTransform(double[] srcPts,
int srcOff,
double[] dstPts,
int dstOff)
throws ProjectionException
- Transforms the specified (x,y) coordinates
and stores the result in
dstPts (angles in radians).
- Specified by:
inverseTransform in class UnitaryProjection
- Parameters:
srcPts - The array containing the source point coordinate, as linear distance
on a unit sphere or ellipse.srcOff - The offset of the point to be converted in the source array.dstPts - the array into which the converted point coordinate is returned (may be
the same than srcPts). Ordinates will be (longitude,
latitude) angles in radians.dstOff - The offset of the location of the converted point that is
stored in the destination array.
- Throws:
ProjectionException - if the point can't be converted.
derivative
public Matrix derivative(Point2D point)
throws ProjectionException
- Gets the derivative of this transform at a point.
- Specified by:
derivative in interface MathTransform2D- Overrides:
derivative in class AbstractMathTransform
- Parameters:
point - The coordinate point where to evaluate the derivative.
- Returns:
- The derivative at the specified point as a 2×2 matrix.
- Throws:
ProjectionException - if the derivative can't be evaluated at the specified point.- Since:
- 3.19
- See Also:
MathTransform2D.derivative(Point2D)
Copyright © 2009-2011 Geotoolkit.org. All Rights Reserved.