public class ZonedGridSystem extends AbstractMathTransform2D implements Serializable
This map projection is not suitable for geometric calculations like distances and angles, since there is discontinuities (gaps) between zones. Actually this operation is not handled as a map projection by Apache SIS, as can been seen from the different class hierarchy.
Examples of CRS using this projection are WGS 84 / UTM grid system EPSG:32600 (northern hemisphere) and EPSG:32700 (southern hemisphere).
Defined in the sis-referencing module
| Constructor and Description |
|---|
ZonedGridSystem(OperationMethod method,
Parameters parameters,
MathTransformFactory factory)
Creates a Zoned Grid System from the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
computeHashCode()
Computes a hash code value for this
ZonedGridSystem. |
boolean |
equals(Object object,
ComparisonMode mode)
Compares the given object with this transform for equivalence.
|
ParameterValueGroup |
getParameterValues()
Returns the parameter values of this zoned grid system projection.
|
MathTransform2D |
inverse()
Returns the inverse of this map projection.
|
Matrix |
transform(double[] srcPts,
int srcOff,
double[] dstPts,
int dstOff,
boolean derivate)
Converts the specified (λ,φ) coordinate and stores the result in
dstPts. |
createTransformedShape, derivative, getSourceDimensions, getTargetDimensions, transformderivative, equals, formatTo, getContextualParameters, getParameterDescriptors, hashCode, isIdentity, transform, transform, transform, transform, transform, tryConcatenateprint, toString, toString, toWKTclone, finalize, getClass, notify, notifyAll, wait, wait, waitderivative, isIdentity, toWKT, transform, transform, transform, transform, transformpublic ZonedGridSystem(OperationMethod method, Parameters parameters, MathTransformFactory factory) throws FactoryException
method argument can be the description of one of the following:
createMapProjection(MathTransformFactory)
method in this class. Instead, the factory must be specified at this ZonedGridSystem construction time.method - description of the projection parameters.parameters - the parameter values of the projection to create.factory - the factory to use for creating the transform.FactoryException - if an error occurred while creating a transform.public ParameterValueGroup getParameterValues()
getParameterValues in interface ParameterizedgetParameterValues in class AbstractMathTransformAbstractMathTransform.getContextualParameters(),
AbstractSingleOperation.getParameterValues()public Matrix transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, boolean derivate) throws TransformException
dstPts.
In addition, opportunistically computes the projection derivative if derivate is true.
Note that the derivative does not contain zone prefix.transform in class AbstractMathTransformsrcPts - the array containing the source coordinate (can not be null).srcOff - the offset to the point to be transformed in the source array.dstPts - the array into which the transformed coordinate is returned. May be the same than srcPts.
May be null if only the derivative matrix is desired.dstOff - the offset to the location of the transformed point that is stored in the destination array.derivate - true for computing the derivative, or false if not needed.null if the derivate argument is false.TransformException - if the coordinate can not be converted.AbstractMathTransform.derivative(DirectPosition),
AbstractMathTransform.transform(DirectPosition, DirectPosition),
MathTransforms.derivativeAndTransform(MathTransform, double[], int, double[], int)public MathTransform2D inverse()
inverse in interface MathTransforminverse in interface MathTransform2Dinverse in class AbstractMathTransform2Dprotected int computeHashCode()
ZonedGridSystem.computeHashCode in class AbstractMathTransformpublic boolean equals(Object object, ComparisonMode mode)
true, then for any given identical source position,
the two compared map projections shall compute the same target position.equals in interface LenientComparableequals in class AbstractMathTransformobject - the object to compare with this map projection for equivalence.mode - the strictness level of the comparison. Default to ComparisonMode.STRICT.true if the given object is equivalent to this map projection.Utilities.deepEquals(Object, Object, ComparisonMode)Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.