Package javax.vecmath

Class Tuple4f

java.lang.Object
javax.vecmath.Tuple4f
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
Color4f, Point4f, Quat4f, TexCoord4f, Vector4f

public abstract class Tuple4f
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
    • z

      public float z
    • w

      public float w
  • Constructor Details

    • Tuple4f

      public Tuple4f​(float float1, float float2, float float3, float float4)
    • Tuple4f

      public Tuple4f​(float[] floatArray)
    • Tuple4f

      public Tuple4f​(Tuple4f tuple4f)
    • Tuple4f

      public Tuple4f​(Tuple4d tuple4d)
    • Tuple4f

      public Tuple4f()
  • Method Details

    • set

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

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

      public final void set​(Tuple4f tuple4f)
    • set

      public final void set​(Tuple4d tuple4d)
    • get

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

      public final void get​(Tuple4f tuple4f)
    • add

      public final void add​(Tuple4f tuple4f, Tuple4f tuple4f2)
    • add

      public final void add​(Tuple4f tuple4f)
    • sub

      public final void sub​(Tuple4f tuple4f, Tuple4f tuple4f2)
    • sub

      public final void sub​(Tuple4f tuple4f)
    • negate

      public final void negate​(Tuple4f tuple4f)
    • negate

      public final void negate()
    • scale

      public final void scale​(float float1, Tuple4f tuple4f)
    • scale

      public final void scale​(float float1)
    • scaleAdd

      public final void scaleAdd​(float float1, Tuple4f tuple4f, Tuple4f tuple4f2)
    • scaleAdd

      public final void scaleAdd​(float float1, Tuple4f tuple4f)
    • toString

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

      public boolean equals​(Tuple4f tuple4f)
    • equals

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

      public boolean epsilonEquals​(Tuple4f tuple4f, float float1)
    • hashCode

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

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

      public final void clampMin​(float float1, Tuple4f tuple4f)
    • clampMax

      public final void clampMax​(float float1, Tuple4f tuple4f)
    • absolute

      public final void absolute​(Tuple4f tuple4f)
    • 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 void interpolate​(Tuple4f tuple4f, Tuple4f tuple4f2, float float1)
    • interpolate

      public void interpolate​(Tuple4f tuple4f, 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)
    • getZ

      public final float getZ()
    • setZ

      public final void setZ​(float float1)
    • getW

      public final float getW()
    • setW

      public final void setW​(float float1)