public static class CylindricalEqualArea.Provider extends MapProjection.AbstractProvider
MathTransformProvider.Delegate
CENTRAL_MERIDIAN, FALSE_EASTING, FALSE_NORTHING, LATITUDE_OF_CENTRE, LATITUDE_OF_ORIGIN, LONGITUDE_OF_CENTRE, SCALE_FACTOR, SEMI_MAJOR, SEMI_MINOR, STANDARD_PARALLEL_1, STANDARD_PARALLEL_2
sourceDimensions, targetDimensions
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATOR
SINGLE_LINE
FORMULA_KEY
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
Constructor and Description |
---|
Provider() |
Modifier and Type | Method and Description |
---|---|
protected MathTransform |
createMathTransform(ParameterValueGroup parameters)
Creates a math transform from the specified group of parameter values.
|
protected static ParameterDescriptor[] |
getParameterDescriptors() |
doubleValue, getOperationType
createDescriptor, createDescriptorGroup, createOptionalDescriptor, doubleValue, ensureValidValues, formatWKT, getParameter, intValue, stringValue, toMap, value
checkDimensions, equals, getFormula, getParameters, getSourceDimensions, getTargetDimensions, hashCode
asSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches, nameMatches
cleanupThreadLocals, toString, toWKT, toWKT, toWKT, toWKT
getAlias, getIdentifiers, getName, getRemarks, toWKT
protected MathTransform createMathTransform(ParameterValueGroup parameters) throws ParameterNotFoundException, FactoryException
MathTransformProvider
double semiMajor = values.parameter("semi_major").doubleValue(SI.METRE); double semiMinor = values.parameter("semi_minor").doubleValue(SI.METRE); // etc... return new MyTransform(semiMajor, semiMinor, ...);
createMathTransform
in class MathTransformProvider
parameters
- The group of parameter values.ParameterNotFoundException
- if a required parameter was not found.FactoryException
- if the math transform can't be created for some other reason (for
example a required file was not found).MathTransformProvider.Delegate
protected static ParameterDescriptor[] getParameterDescriptors()
Copyright © 1996–2019 Geotools. All rights reserved.