Package javax.vecmath

Class Tuple2d

java.lang.Object
javax.vecmath.Tuple2d
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
Point2d, Vector2d

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

    • Tuple2d

      public Tuple2d​(double double1, double double2)
    • Tuple2d

      public Tuple2d​(double[] doubleArray)
    • Tuple2d

      public Tuple2d​(Tuple2d tuple2d)
    • Tuple2d

      public Tuple2d​(Tuple2f tuple2f)
    • Tuple2d

      public Tuple2d()
  • Method Details

    • set

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

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

      public final void set​(Tuple2d tuple2d)
    • set

      public final void set​(Tuple2f tuple2f)
    • get

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

      public final void add​(Tuple2d tuple2d, Tuple2d tuple2d2)
    • add

      public final void add​(Tuple2d tuple2d)
    • sub

      public final void sub​(Tuple2d tuple2d, Tuple2d tuple2d2)
    • sub

      public final void sub​(Tuple2d tuple2d)
    • negate

      public final void negate​(Tuple2d tuple2d)
    • negate

      public final void negate()
    • scale

      public final void scale​(double double1, Tuple2d tuple2d)
    • scale

      public final void scale​(double double1)
    • scaleAdd

      public final void scaleAdd​(double double1, Tuple2d tuple2d, Tuple2d tuple2d2)
    • scaleAdd

      public final void scaleAdd​(double double1, Tuple2d tuple2d)
    • hashCode

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

      public boolean equals​(Tuple2d tuple2d)
    • equals

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

      public boolean epsilonEquals​(Tuple2d tuple2d, double double1)
    • toString

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

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

      public final void clampMin​(double double1, Tuple2d tuple2d)
    • clampMax

      public final void clampMax​(double double1, Tuple2d tuple2d)
    • absolute

      public final void absolute​(Tuple2d tuple2d)
    • clamp

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

      public final void clampMin​(double double1)
    • clampMax

      public final void clampMax​(double double1)
    • absolute

      public final void absolute()
    • interpolate

      public final void interpolate​(Tuple2d tuple2d, Tuple2d tuple2d2, double double1)
    • interpolate

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