Package javax.vecmath
Class Tuple4d
java.lang.Object
javax.vecmath.Tuple4d
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
public abstract class Tuple4d
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description void
absolute()
void
absolute(Tuple4d tuple4d)
void
add(Tuple4d tuple4d)
void
add(Tuple4d tuple4d, Tuple4d tuple4d2)
void
clamp(double double1, double double2)
void
clamp(double double1, double double2, Tuple4d tuple4d)
void
clamp(float float1, float float2)
void
clamp(float float1, float float2, Tuple4d tuple4d)
void
clampMax(double double1)
void
clampMax(double double1, Tuple4d tuple4d)
void
clampMax(float float1)
void
clampMax(float float1, Tuple4d tuple4d)
void
clampMin(double double1)
void
clampMin(double double1, Tuple4d tuple4d)
void
clampMin(float float1)
void
clampMin(float float1, Tuple4d tuple4d)
java.lang.Object
clone()
boolean
epsilonEquals(Tuple4d tuple4d, double double1)
boolean
equals(java.lang.Object object)
boolean
equals(Tuple4d tuple4d)
void
get(double[] doubleArray)
void
get(Tuple4d tuple4d)
double
getW()
double
getX()
double
getY()
double
getZ()
int
hashCode()
void
interpolate(Tuple4d tuple4d, double double1)
void
interpolate(Tuple4d tuple4d, float float1)
void
interpolate(Tuple4d tuple4d, Tuple4d tuple4d2, double double1)
void
interpolate(Tuple4d tuple4d, Tuple4d tuple4d2, float float1)
void
negate()
void
negate(Tuple4d tuple4d)
void
scale(double double1)
void
scale(double double1, Tuple4d tuple4d)
void
scaleAdd(double double1, Tuple4d tuple4d)
void
scaleAdd(double double1, Tuple4d tuple4d, Tuple4d tuple4d2)
void
scaleAdd(float float1, Tuple4d tuple4d)
void
set(double[] doubleArray)
void
set(double double1, double double2, double double3, double double4)
void
set(Tuple4d tuple4d)
void
set(Tuple4f tuple4f)
void
setW(double double1)
void
setX(double double1)
void
setY(double double1)
void
setZ(double double1)
void
sub(Tuple4d tuple4d)
void
sub(Tuple4d tuple4d, Tuple4d tuple4d2)
java.lang.String
toString()
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
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
-
Tuple4d
-
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
-
set
-
get
public final void get(double[] doubleArray) -
get
-
add
-
add
-
sub
-
sub
-
negate
-
negate
public final void negate() -
scale
-
scale
public final void scale(double double1) -
scaleAdd
-
scaleAdd
-
scaleAdd
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
equals
-
equals
public boolean equals(java.lang.Object object)- Overrides:
equals
in classjava.lang.Object
-
epsilonEquals
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
clamp
-
clamp
-
clampMin
-
clampMin
-
clampMax
-
clampMax
-
absolute
-
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
-
interpolate
-
interpolate
-
interpolate
-
clone
public java.lang.Object clone()- Overrides:
clone
in classjava.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)
-