Class AffineTransformDescriptor

  • All Implemented Interfaces:
    MapTransformDescriptor

    @Deprecated
    public class AffineTransformDescriptor
    extends Object
    implements MapTransformDescriptor
    Deprecated.
    since BEAM 4.7, use geotools ProjectiveTransform.ProviderAffine instead.
    A map transform which implements an affine transformation.
    Version:
    $Revision$ $Date$
    • Constructor Detail

      • AffineTransformDescriptor

        public AffineTransformDescriptor()
        Deprecated.
    • Method Detail

      • getTypeID

        public String getTypeID()
        Deprecated.
        Specified by:
        getTypeID in interface MapTransformDescriptor
        Returns:
        The unique type identifier for the map transformation, e.g. "Transverse_Mercator".
      • getName

        public String getName()
        Deprecated.
        Gets a descriptive name for this map transformation descriptor, e.g. "Transverse Mercator".
        Specified by:
        getName in interface MapTransformDescriptor
        Returns:
        A descriptive name for this map transformation descriptor, e.g. "Transverse Mercator".
      • getParameterDefaultValues

        public double[] getParameterDefaultValues()
        Deprecated.
        Gets the default parameter values for this map transform.
        Specified by:
        getParameterDefaultValues in interface MapTransformDescriptor
        Returns:
        The default parameter values for this map transform.
      • getParameters

        public Parameter[] getParameters()
        Deprecated.
        Gets the list of parameters required to create an instance of the map transformation.
        Specified by:
        getParameters in interface MapTransformDescriptor
        Returns:
        The list of parameters required to create a new instance of the map transform.
      • hasTransformUI

        public boolean hasTransformUI()
        Deprecated.
        Tests if a user interface is available. Returns false because a user interface is not available for this descriptor.
        Specified by:
        hasTransformUI in interface MapTransformDescriptor
        Returns:
        always false
      • getTransformUI

        public MapTransformUI getTransformUI​(MapTransform transform)
        Deprecated.
        Gets a user interface for editing the transformation properties of a map projection. Returns null because a user interface is not available for this descriptor.
        Specified by:
        getTransformUI in interface MapTransformDescriptor
        Parameters:
        transform - ignored
        Returns:
        always null
      • createTransform

        public MapTransform createTransform​(double[] parameterValues)
        Deprecated.
        Description copied from interface: MapTransformDescriptor
        Creates an instance of the map transform for the given parameter values. The parameter value array must exactly match the size and semantics of the parameters returned by the MapTransformDescriptor.getParameters() method.

        Important: Implementors of this method shall ensure that an element-wise copy of the given parameter array is created and set.

        Specified by:
        createTransform in interface MapTransformDescriptor
        Parameters:
        parameterValues - the parameter values. If null, a map transform with default parameter values is created
        Returns:
        a new instance of a map transform with the array of parameters being copied, never null