Class SpecializableTransform.SubArea

All Implemented Interfaces:
Serializable, Cloneable, Emptiable, org.opengis.geometry.Envelope
Enclosing class:
SpecializableTransform

private static final class SpecializableTransform.SubArea extends RTreeNode
The region where a transform is valid, together with the transform. Contains also a chain of SubAreas fully included in this area. Shall be unmodified after SpecializableTransform construction.
  • Field Details

    • serialVersionUID

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

      final org.opengis.referencing.operation.MathTransform transform
      The transform to apply in this area.
    • inverse

      org.opengis.referencing.operation.MathTransform inverse
      The inverse of the transform, computed when first needed. Synchronization for multi-threading is done (indirectly) in SpecializableTransform.inverse().
      See Also:
  • Constructor Details

    • SubArea

      SubArea(org.opengis.geometry.Envelope area, org.opengis.referencing.operation.MathTransform transform)
      Creates a new area where a transform is valid.
  • Method Details

    • createInverseTransform

      final void createInverseTransform() throws org.opengis.referencing.operation.NoninvertibleTransformException
      Creates the inverse transforms. This method should be invoked only once when first needed in a block synchronized (indirectly) by SpecializableTransform.inverse().
      Throws:
      org.opengis.referencing.operation.NoninvertibleTransformException
    • format

      final void format(Formatter formatter)
      Formats this area and its transform as a pseudo-WKT. For SpecializableTransform.formatTo(Formatter) implementation only.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class RTreeNode
      Returns:
      a hash code value for this node and its children.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class RTreeNode
      Parameters:
      obj - the object to compare with this node.
      Returns:
      whether the two objects are of the same class, have equal envelope and equal children list.