Package javax.vecmath

Class Tuple2i

java.lang.Object
javax.vecmath.Tuple2i
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
Point2i

public abstract class Tuple2i
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
See Also:
Serialized Form
  • Field Details

    • x

      public int x
    • y

      public int y
  • Constructor Details

    • Tuple2i

      public Tuple2i​(int int1, int int2)
    • Tuple2i

      public Tuple2i​(int[] intArray)
    • Tuple2i

      public Tuple2i​(Tuple2i tuple2i)
    • Tuple2i

      public Tuple2i()
  • Method Details

    • set

      public final void set​(int int1, int int2)
    • set

      public final void set​(int[] intArray)
    • set

      public final void set​(Tuple2i tuple2i)
    • get

      public final void get​(int[] intArray)
    • get

      public final void get​(Tuple2i tuple2i)
    • add

      public final void add​(Tuple2i tuple2i, Tuple2i tuple2i2)
    • add

      public final void add​(Tuple2i tuple2i)
    • sub

      public final void sub​(Tuple2i tuple2i, Tuple2i tuple2i2)
    • sub

      public final void sub​(Tuple2i tuple2i)
    • negate

      public final void negate​(Tuple2i tuple2i)
    • negate

      public final void negate()
    • scale

      public final void scale​(int int1, Tuple2i tuple2i)
    • scale

      public final void scale​(int int1)
    • scaleAdd

      public final void scaleAdd​(int int1, Tuple2i tuple2i, Tuple2i tuple2i2)
    • scaleAdd

      public final void scaleAdd​(int int1, Tuple2i tuple2i)
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • equals

      public boolean equals​(java.lang.Object object)
      Overrides:
      equals in class java.lang.Object
    • hashCode

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

      public final void clamp​(int int1, int int2, Tuple2i tuple2i)
    • clampMin

      public final void clampMin​(int int1, Tuple2i tuple2i)
    • clampMax

      public final void clampMax​(int int1, Tuple2i tuple2i)
    • absolute

      public final void absolute​(Tuple2i tuple2i)
    • clamp

      public final void clamp​(int int1, int int2)
    • clampMin

      public final void clampMin​(int int1)
    • clampMax

      public final void clampMax​(int int1)
    • absolute

      public final void absolute()
    • clone

      public java.lang.Object clone()
      Overrides:
      clone in class java.lang.Object
    • getX

      public final int getX()
    • setX

      public final void setX​(int int1)
    • getY

      public final int getY()
    • setY

      public final void setY​(int int1)