Interface Transform

All Known Implementing Classes:
AffineTransform, CombinedTransform, Identity

public interface Transform
Makes a transformation of Vector3s.
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(Vector3 input)
    Returns the result of applying the function to the input.
    Create a new Transform that combines this transform with another.
    Create a new inverse transform.
    boolean
    Return whether this transform is an identity.
  • Method Details

    • isIdentity

      boolean isIdentity()
      Return whether this transform is an identity.

      If it is not known, then false must be returned.

      Returns:
      true if identity
    • apply

      Vector3 apply(Vector3 input)
      Returns the result of applying the function to the input.
      Parameters:
      input - the input
      Returns:
      the result
    • inverse

      Transform inverse()
      Create a new inverse transform.
      Returns:
      a new inverse transform
    • combine

      Transform combine(Transform other)
      Create a new Transform that combines this transform with another.
      Parameters:
      other - the other transform to occur second
      Returns:
      a new transform