Package javax.vecmath

Class Tuple2f

java.lang.Object
javax.vecmath.Tuple2f
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
Point2f, TexCoord2f, Vector2f

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

    • x

      public float x
    • y

      public float y
  • Constructor Details

    • Tuple2f

      public Tuple2f​(float float1, float float2)
    • Tuple2f

      public Tuple2f​(float[] floatArray)
    • Tuple2f

      public Tuple2f​(Tuple2f tuple2f)
    • Tuple2f

      public Tuple2f​(Tuple2d tuple2d)
    • Tuple2f

      public Tuple2f()
  • Method Details

    • set

      public final void set​(float float1, float float2)
    • set

      public final void set​(float[] floatArray)
    • set

      public final void set​(Tuple2f tuple2f)
    • set

      public final void set​(Tuple2d tuple2d)
    • get

      public final void get​(float[] floatArray)
    • add

      public final void add​(Tuple2f tuple2f, Tuple2f tuple2f2)
    • add

      public final void add​(Tuple2f tuple2f)
    • sub

      public final void sub​(Tuple2f tuple2f, Tuple2f tuple2f2)
    • sub

      public final void sub​(Tuple2f tuple2f)
    • negate

      public final void negate​(Tuple2f tuple2f)
    • negate

      public final void negate()
    • scale

      public final void scale​(float float1, Tuple2f tuple2f)
    • scale

      public final void scale​(float float1)
    • scaleAdd

      public final void scaleAdd​(float float1, Tuple2f tuple2f, Tuple2f tuple2f2)
    • scaleAdd

      public final void scaleAdd​(float float1, Tuple2f tuple2f)
    • hashCode

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

      public boolean equals​(Tuple2f tuple2f)
    • equals

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

      public boolean epsilonEquals​(Tuple2f tuple2f, float float1)
    • toString

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

      public final void clamp​(float float1, float float2, Tuple2f tuple2f)
    • clampMin

      public final void clampMin​(float float1, Tuple2f tuple2f)
    • clampMax

      public final void clampMax​(float float1, Tuple2f tuple2f)
    • absolute

      public final void absolute​(Tuple2f tuple2f)
    • clamp

      public final void clamp​(float float1, float float2)
    • clampMin

      public final void clampMin​(float float1)
    • clampMax

      public final void clampMax​(float float1)
    • absolute

      public final void absolute()
    • interpolate

      public final void interpolate​(Tuple2f tuple2f, Tuple2f tuple2f2, float float1)
    • interpolate

      public final void interpolate​(Tuple2f tuple2f, float float1)
    • clone

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

      public final float getX()
    • setX

      public final void setX​(float float1)
    • getY

      public final float getY()
    • setY

      public final void setY​(float float1)