Class DomainDefinition.ToDomain

java.lang.Object
org.apache.sis.referencing.operation.transform.DomainDefinition.ToDomain
Enclosing class:
DomainDefinition

private static final class DomainDefinition.ToDomain extends Object
The transform to apply on the envelope computed by a transform step in order to get an envelope in the units of the requested domain. This is a node in a linked list, because there is potentially two or more transforms to concatenate if the transform chain is long.

This node lazily creates the concatenated transform when first requested, because it is needed only if an DomainDefinition.estimate(MathTransform) call returned a non-empty value.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private org.opengis.referencing.operation.MathTransform
    Concatenation of step followed by , computed when first needed.
    The second transform to apply on the envelope, or null if none.
    private final org.opengis.referencing.operation.MathTransform
    The first transform to apply on the envelope.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ToDomain(org.opengis.referencing.operation.MathTransform step, DomainDefinition.ToDomain next)
    Creates a new node in a chain of transform to potentially concatenate.
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) org.opengis.referencing.operation.MathTransform
    Returns the transform to apply on domain envelope computed by a transform step.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • step

      private final org.opengis.referencing.operation.MathTransform step
      The first transform to apply on the envelope.
    • next

      private final DomainDefinition.ToDomain next
      The second transform to apply on the envelope, or null if none.
    • concatenation

      private org.opengis.referencing.operation.MathTransform concatenation
      Concatenation of step followed by , computed when first needed.
  • Constructor Details

    • ToDomain

      ToDomain(org.opengis.referencing.operation.MathTransform step, DomainDefinition.ToDomain next)
      Creates a new node in a chain of transform to potentially concatenate.
      Parameters:
      step - first transform to apply on the envelope.
      next - second transform to apply on the envelope, or null if none.
  • Method Details

    • concatenation

      org.opengis.referencing.operation.MathTransform concatenation()
      Returns the transform to apply on domain envelope computed by a transform step. This is the concatenation of step followed by all other steps that have been encountered while traversing a chain of transforms.