Package javax.vecmath

Class Tuple3f

java.lang.Object
javax.vecmath.Tuple3f
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
Color3f, Point3f, TexCoord3f, Vector3f

public abstract class Tuple3f
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
  • Constructor Details

    • Tuple3f

      public Tuple3f​(float float1, float float2, float float3)
    • Tuple3f

      public Tuple3f​(float[] floatArray)
    • Tuple3f

      public Tuple3f​(Tuple3f tuple3f)
    • Tuple3f

      public Tuple3f​(Tuple3d tuple3d)
    • Tuple3f

      public Tuple3f()
  • Method Details

    • toString

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

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

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

      public final void set​(Tuple3f tuple3f)
    • set

      public final void set​(Tuple3d tuple3d)
    • get

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

      public final void get​(Tuple3f tuple3f)
    • add

      public final void add​(Tuple3f tuple3f, Tuple3f tuple3f2)
    • add

      public final void add​(Tuple3f tuple3f)
    • sub

      public final void sub​(Tuple3f tuple3f, Tuple3f tuple3f2)
    • sub

      public final void sub​(Tuple3f tuple3f)
    • negate

      public final void negate​(Tuple3f tuple3f)
    • negate

      public final void negate()
    • scale

      public final void scale​(float float1, Tuple3f tuple3f)
    • scale

      public final void scale​(float float1)
    • scaleAdd

      public final void scaleAdd​(float float1, Tuple3f tuple3f, Tuple3f tuple3f2)
    • scaleAdd

      public final void scaleAdd​(float float1, Tuple3f tuple3f)
    • equals

      public boolean equals​(Tuple3f tuple3f)
    • equals

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

      public boolean epsilonEquals​(Tuple3f tuple3f, float float1)
    • hashCode

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

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

      public final void clampMin​(float float1, Tuple3f tuple3f)
    • clampMax

      public final void clampMax​(float float1, Tuple3f tuple3f)
    • absolute

      public final void absolute​(Tuple3f tuple3f)
    • 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​(Tuple3f tuple3f, Tuple3f tuple3f2, float float1)
    • interpolate

      public final void interpolate​(Tuple3f tuple3f, 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)