Package javax.vecmath

Class Tuple4d

java.lang.Object
javax.vecmath.Tuple4d
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
Point4d, Quat4d, Vector4d

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

    • x

      public double x
    • y

      public double y
    • z

      public double z
    • w

      public double w
  • Constructor Details

    • Tuple4d

      public Tuple4d​(double double1, double double2, double double3, double double4)
    • Tuple4d

      public Tuple4d​(double[] doubleArray)
    • Tuple4d

      public Tuple4d​(Tuple4d tuple4d)
    • Tuple4d

      public Tuple4d​(Tuple4f tuple4f)
    • Tuple4d

      public Tuple4d()
  • Method Details

    • set

      public final void set​(double double1, double double2, double double3, double double4)
    • set

      public final void set​(double[] doubleArray)
    • set

      public final void set​(Tuple4d tuple4d)
    • set

      public final void set​(Tuple4f tuple4f)
    • get

      public final void get​(double[] doubleArray)
    • get

      public final void get​(Tuple4d tuple4d)
    • add

      public final void add​(Tuple4d tuple4d, Tuple4d tuple4d2)
    • add

      public final void add​(Tuple4d tuple4d)
    • sub

      public final void sub​(Tuple4d tuple4d, Tuple4d tuple4d2)
    • sub

      public final void sub​(Tuple4d tuple4d)
    • negate

      public final void negate​(Tuple4d tuple4d)
    • negate

      public final void negate()
    • scale

      public final void scale​(double double1, Tuple4d tuple4d)
    • scale

      public final void scale​(double double1)
    • scaleAdd

      public final void scaleAdd​(double double1, Tuple4d tuple4d, Tuple4d tuple4d2)
    • scaleAdd

      public final void scaleAdd​(float float1, Tuple4d tuple4d)
    • scaleAdd

      public final void scaleAdd​(double double1, Tuple4d tuple4d)
    • toString

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

      public boolean equals​(Tuple4d tuple4d)
    • equals

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

      public boolean epsilonEquals​(Tuple4d tuple4d, double double1)
    • hashCode

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

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

      public final void clamp​(double double1, double double2, Tuple4d tuple4d)
    • clampMin

      public final void clampMin​(float float1, Tuple4d tuple4d)
    • clampMin

      public final void clampMin​(double double1, Tuple4d tuple4d)
    • clampMax

      public final void clampMax​(float float1, Tuple4d tuple4d)
    • clampMax

      public final void clampMax​(double double1, Tuple4d tuple4d)
    • absolute

      public final void absolute​(Tuple4d tuple4d)
    • clamp

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

      public final void clamp​(double double1, double double2)
    • clampMin

      public final void clampMin​(float float1)
    • clampMin

      public final void clampMin​(double double1)
    • clampMax

      public final void clampMax​(float float1)
    • clampMax

      public final void clampMax​(double double1)
    • absolute

      public final void absolute()
    • interpolate

      public void interpolate​(Tuple4d tuple4d, Tuple4d tuple4d2, float float1)
    • interpolate

      public void interpolate​(Tuple4d tuple4d, Tuple4d tuple4d2, double double1)
    • interpolate

      public void interpolate​(Tuple4d tuple4d, float float1)
    • interpolate

      public void interpolate​(Tuple4d tuple4d, double double1)
    • clone

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

      public final double getX()
    • setX

      public final void setX​(double double1)
    • getY

      public final double getY()
    • setY

      public final void setY​(double double1)
    • getZ

      public final double getZ()
    • setZ

      public final void setZ​(double double1)
    • getW

      public final double getW()
    • setW

      public final void setW​(double double1)