Documentation of 'mikera.transformz.AAffineTransform' Java class
AAffineTransform
mikera.transformz

Class AAffineTransform

    • Constructor Detail

      • AAffineTransform

        public AAffineTransform()
    • Method Detail

      • getMatrix

        public abstract AMatrix getMatrix()
      • getTranslation

        public abstract ATranslation getTranslation()
      • copyOfTranslationVector

        public AVector copyOfTranslationVector()
        Returns a deep copy of the translation vector for this affine transform
      • copyOfMatrix

        public AMatrix copyOfMatrix()
        Returns a deep copy of the transformation matrix for this affine transform
      • getTranslationVector

        public AVector getTranslationVector()
        Gets the translation offset that is part of this affine transform.
        Returns:
      • isIdentity

        public boolean isIdentity()
        Description copied from class: ATransform
        Returns true if this transform is known to be the identity function, i.e. it maps all vectors to themselves
        Overrides:
        isIdentity in class ATransform
      • transformNormal

        public void transformNormal(AVector source,
                                    AVector dest)
      • calculateElement

        public double calculateElement(int i,
                                       AVector v)
        Description copied from class: ATransform
        Calculates a single element of the output. Not necessarily faster than calculating full output, but can be in some circumstances.
        Overrides:
        calculateElement in class ATransform
      • transformInPlace

        public void transformInPlace(AVector v)
        Description copied from class: ATransform
        Transforms a vector destructively. Intended for fast non-allocating transforms
        Overrides:
        transformInPlace in class ATransform
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • inverse

        public AAffineTransform inverse()
        Description copied from class: ATransform
        Return the inverse of this transformation (if possible). Throws an exception if the inverse cannot be computed.
        Overrides:
        inverse in class ATransform
        Returns:
      • isLinear

        public boolean isLinear()
        Description copied from class: ATransform
        Returns true if this transformation is guaranteed to be linear
        Overrides:
        isLinear in class ATransform
        Returns:
      • isInvertible

        public boolean isInvertible()
        Description copied from class: ATransform
        Returns true if this transform is invertible
        Overrides:
        isInvertible in class ATransform

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.