public class SimilarityTransformProvider extends MathTransformProvider
Note that similarity transform is a special case of an Affine transform 2D.
MathTransformProvider.Delegate| Modifier and Type | Field and Description | 
|---|---|
| static ParameterDescriptor<Double> | ROTATION"Rotation angle of source coordinate reference system axes" EPSG::8614 | 
| static ParameterDescriptor<Double> | SCALE"Scale difference" EPSG::8611 | 
| static ParameterDescriptor<Double> | TRANSLATION_1"Ordinate 1 of evaluation point in target CRS" EPSG::8621 | 
| static ParameterDescriptor<Double> | TRANSLATION_2"Ordinate 2 of evaluation point in target CRS" EPSG::8622 | 
sourceDimensions, targetDimensionsEMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATORSINGLE_LINEFORMULA_KEYALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY| Constructor and Description | 
|---|
| SimilarityTransformProvider()Creates a two-dimensional similarity transform. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected MathTransform | createMathTransform(ParameterValueGroup values)Constructs an  AffineTransform2Dmath transform from the specified group of parameter
 values. | 
createDescriptor, createDescriptorGroup, createOptionalDescriptor, doubleValue, ensureValidValues, formatWKT, getOperationType, getParameter, intValue, stringValue, toMap, valuecheckDimensions, equals, getFormula, getParameters, getSourceDimensions, getTargetDimensions, hashCodeasSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches, nameMatchescleanupThreadLocals, toString, toWKT, toWKT, toWKT, toWKTgetAlias, getIdentifiers, getName, getRemarks, toWKTpublic static final ParameterDescriptor<Double> TRANSLATION_1
public static final ParameterDescriptor<Double> TRANSLATION_2
public static final ParameterDescriptor<Double> SCALE
public static final ParameterDescriptor<Double> ROTATION
public SimilarityTransformProvider()
EPSG defines explicitly this transform as 2D.
protected MathTransform createMathTransform(ParameterValueGroup values) throws ParameterNotFoundException
AffineTransform2D math transform from the specified group of parameter
 values.
 The similarity transform is a particular case of Affine Transform 2D where:
m00 = SCALE * cos(ROTATION) m01 = SCALE * sin(ROTATION) m02 = TRANSLATION_1 m10 = -m01 m11 = m00 m12 = TRANSLATION_2
createMathTransform in class MathTransformProvidervalues - The group of parameter values PARAMETERS.AffineTransform2D.ParameterNotFoundException - if a required parameter was not found.MathTransformProvider.DelegateCopyright © 1996–2019 Geotools. All rights reserved.