Class Affine.Descriptor

All Implemented Interfaces:
Serializable, Formattable, Deprecable, LenientComparable, org.opengis.parameter.GeneralParameterDescriptor, org.opengis.parameter.ParameterDescriptorGroup, org.opengis.referencing.IdentifiedObject
Enclosing class:
Affine

private static final class Affine.Descriptor extends DefaultParameterDescriptorGroup
The parameter descriptor to be returned by DefaultOperationMethod.getParameters(). The only purpose of this class is to override the createValue() method.
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      For cross-version compatibility.
      See Also:
  • Constructor Details

    • Descriptor

      Descriptor(Map<String,?> properties, org.opengis.parameter.ParameterDescriptor<?>[] parameters)
      Creates a new descriptor for the given parameters.
  • Method Details

    • createValue

      public org.opengis.parameter.ParameterValueGroup createValue()
      Returns default parameter values for the "Affine" operation. Unconditionally use the WKT1 parameter names, regardless of whether this descriptor is for the EPSG:9624 case, because the caller is free to change the matrix size, in which case (strictly speaking) the parameters would no longer be for EPSG:9624 operation.
      Specified by:
      createValue in interface org.opengis.parameter.GeneralParameterDescriptor
      Specified by:
      createValue in interface org.opengis.parameter.ParameterDescriptorGroup
      Overrides:
      createValue in class DefaultParameterDescriptorGroup
      Returns:
      a new parameter instance initialized to the default value.