Class AbstractMathTransform.Inverse

java.lang.Object
com.gluonhq.attach.position.impl.geotools.AbstractMathTransform
com.gluonhq.attach.position.impl.geotools.AbstractMathTransform.Inverse
All Implemented Interfaces:
Serializable
Enclosing class:
AbstractMathTransform

protected abstract class AbstractMathTransform.Inverse extends AbstractMathTransform implements Serializable
Default implementation for inverse math transform. This inner class is the inverse of the enclosing MathTransform. It is serializable only if the enclosing math transform is also serializable.
Since:
3.9.0
See Also:
  • Constructor Details

    • Inverse

      protected Inverse()
      Constructs an inverse math transform.
  • Method Details

    • getSourceDimensions

      public int getSourceDimensions()
      Gets the dimension of input points. The default implementation returns the dimension of output points of the enclosing math transform.
      Specified by:
      getSourceDimensions in class AbstractMathTransform
    • getTargetDimensions

      public int getTargetDimensions()
      Gets the dimension of output points. The default implementation returns the dimension of input points of the enclosing math transform.
      Specified by:
      getTargetDimensions in class AbstractMathTransform
    • isIdentity

      public boolean isIdentity()
      Tests whether this transform does not move any points. The default implementation delegate this tests to the enclosing math transform.
      Overrides:
      isIdentity in class AbstractMathTransform
    • hashCode

      public int hashCode()
      Returns a hash code value for this math transform.
      Overrides:
      hashCode in class AbstractMathTransform