|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectFormattable
AbstractIdentifiedObject
DefaultOperationMethod
MathTransformProvider
MapProjection.AbstractProvider
public abstract static class MapProjection.AbstractProvider
The base provider for MapProjection
s.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class MathTransformProvider |
---|
MathTransformProvider.Delegate |
Field Summary | |
---|---|
static ParameterDescriptor |
CENTRAL_MERIDIAN
The operation parameter descriptor for the central meridian parameter value. |
static ParameterDescriptor |
FALSE_EASTING
The operation parameter descriptor for the falseEasting
parameter value. |
static ParameterDescriptor |
FALSE_NORTHING
The operation parameter descriptor for the falseNorthing
parameter value. |
static ParameterDescriptor |
LATITUDE_OF_ORIGIN
The operation parameter descriptor for the latitude of origin parameter value. |
static ParameterDescriptor |
SCALE_FACTOR
The operation parameter descriptor for the scaleFactor
parameter value. |
static ParameterDescriptor |
SEMI_MAJOR
The operation parameter descriptor for the semi major parameter value. |
static ParameterDescriptor |
SEMI_MINOR
The operation parameter descriptor for the semi minor parameter value. |
static ParameterDescriptor |
STANDARD_PARALLEL_1
The operation parameter descriptor for the standard parallel 1 parameter value. |
static ParameterDescriptor |
STANDARD_PARALLEL_2
The operation parameter descriptor for the standard parallel 2 parameter value. |
Fields inherited from class DefaultOperationMethod |
---|
sourceDimensions, targetDimensions |
Fields inherited from class AbstractIdentifiedObject |
---|
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATOR |
Fields inherited from class Formattable |
---|
SINGLE_LINE |
Fields inherited from interface OperationMethod |
---|
FORMULA_KEY |
Fields inherited from interface IdentifiedObject |
---|
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY |
Constructor Summary | |
---|---|
MapProjection.AbstractProvider(ParameterDescriptorGroup parameters)
Constructs a math transform provider from a set of parameters. |
Method Summary | |
---|---|
protected static double |
doubleValue(ParameterDescriptor param,
ParameterValueGroup group)
Returns the parameter value for the specified operation parameter in standard units. |
Class<? extends Projection> |
getOperationType()
Returns the operation type for this map projection. |
Methods inherited from class MathTransformProvider |
---|
createDescriptor, createDescriptorGroup, createMathTransform, createOptionalDescriptor, doubleValue, ensureValidValues, formatWKT, getParameter, intValue, stringValue, value |
Methods inherited from class DefaultOperationMethod |
---|
checkDimensions, equals, getFormula, getParameters, getSourceDimensions, getTargetDimensions, hashCode |
Methods inherited from class AbstractIdentifiedObject |
---|
asSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches, nameMatches |
Methods inherited from class Formattable |
---|
cleanupThreadLocals, toString, toWKT, toWKT, toWKT |
Methods inherited from class Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface IdentifiedObject |
---|
getAlias, getIdentifiers, getName, getRemarks, toWKT |
Field Detail |
---|
public static final ParameterDescriptor SEMI_MAJOR
public static final ParameterDescriptor SEMI_MINOR
public static final ParameterDescriptor CENTRAL_MERIDIAN
public static final ParameterDescriptor LATITUDE_OF_ORIGIN
public static final ParameterDescriptor STANDARD_PARALLEL_1
public static final ParameterDescriptor STANDARD_PARALLEL_2
public static final ParameterDescriptor SCALE_FACTOR
scaleFactor
parameter value. Valid values range is from 0 to infinity. Default value is 1.
public static final ParameterDescriptor FALSE_EASTING
falseEasting
parameter value. Valid values range is unrestricted. Default value is 0.
public static final ParameterDescriptor FALSE_NORTHING
falseNorthing
parameter value. Valid values range is unrestricted. Default value is 0.
Constructor Detail |
---|
public MapProjection.AbstractProvider(ParameterDescriptorGroup parameters)
parameters
- The set of parameters (never null
).Method Detail |
---|
public Class<? extends Projection> getOperationType()
getOperationType
in class MathTransformProvider
protected static double doubleValue(ParameterDescriptor param, ParameterValueGroup group) throws ParameterNotFoundException
param
argument, except degrees
which are converted
to radians
. This conversion is performed because the radians units
are standard for all internal computations in the map projection package. For example
they are the standard units for latitudeOfOrigin
and centralMeridian
fields in the
MapProjection
class.
param
- The parameter to look for.group
- The parameter value group to search into.
ParameterNotFoundException
- if the parameter is not found.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |