Class Transform

java.lang.Object
com.codename1.gaming.physics.box2d.common.Transform
All Implemented Interfaces:
Serializable

public class Transform extends Object implements Serializable
See Also:
  • Field Details

    • p

      public final Vec2 p
    • q

      public final Rot q
  • Constructor Details

    • Transform

      public Transform()
    • Transform

      public Transform(Transform xf)
    • Transform

      public Transform(Vec2 _position, Rot _R)
  • Method Details

    • set

      public final Transform set(Transform xf)
    • set

      public final void set(Vec2 p, float angle)
    • setIdentity

      public final void setIdentity()
    • mul

      public static final Vec2 mul(Transform T, Vec2 v)
    • mulToOut

      public static final void mulToOut(Transform T, Vec2 v, Vec2 out)
    • mulToOutUnsafe

      public static final void mulToOutUnsafe(Transform T, Vec2 v, Vec2 out)
    • mulTrans

      public static final Vec2 mulTrans(Transform T, Vec2 v)
    • mulTransToOut

      public static final void mulTransToOut(Transform T, Vec2 v, Vec2 out)
    • mulTransToOutUnsafe

      public static final void mulTransToOutUnsafe(Transform T, Vec2 v, Vec2 out)
    • mul

      public static final Transform mul(Transform A, Transform B)
    • mulToOut

      public static final void mulToOut(Transform A, Transform B, Transform out)
    • mulToOutUnsafe

      public static final void mulToOutUnsafe(Transform A, Transform B, Transform out)
    • mulTrans

      public static final Transform mulTrans(Transform A, Transform B)
    • mulTransToOut

      public static final void mulTransToOut(Transform A, Transform B, Transform out)
    • mulTransToOutUnsafe

      public static final void mulTransToOutUnsafe(Transform A, Transform B, Transform out)
    • toString

      public final String toString()
      Description copied from class: Object
      Returns a string representation of the object. In general, the toString method returns a string that "textually represents" this object. The result should be a concise but informative representation that is easy for a person to read. It is recommended that all subclasses override this method. The toString method for class Object returns a string consisting of the name of the class of which the object is an instance, the at-sign character `@', and the unsigned hexadecimal representation of the hash code of the object. In other words, this method returns a string equal to the value of: getClass().getName() + '@' + Integer.toHexString(hashCode())
      Overrides:
      toString in class Object