Package javax.vecmath
Class Tuple3d
java.lang.Object
javax.vecmath.Tuple3d
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
public abstract class Tuple3d
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(Tuple3d tuple3d)
void
add(Tuple3d tuple3d)
void
add(Tuple3d tuple3d, Tuple3d tuple3d2)
void
clamp(double double1, double double2)
void
clamp(double double1, double double2, Tuple3d tuple3d)
void
clamp(float float1, float float2)
void
clamp(float float1, float float2, Tuple3d tuple3d)
void
clampMax(double double1)
void
clampMax(double double1, Tuple3d tuple3d)
void
clampMax(float float1)
void
clampMax(float float1, Tuple3d tuple3d)
void
clampMin(double double1)
void
clampMin(double double1, Tuple3d tuple3d)
void
clampMin(float float1)
void
clampMin(float float1, Tuple3d tuple3d)
java.lang.Object
clone()
boolean
epsilonEquals(Tuple3d tuple3d, double double1)
boolean
equals(java.lang.Object object)
boolean
equals(Tuple3d tuple3d)
void
get(double[] doubleArray)
void
get(Tuple3d tuple3d)
double
getX()
double
getY()
double
getZ()
int
hashCode()
void
interpolate(Tuple3d tuple3d, double double1)
void
interpolate(Tuple3d tuple3d, float float1)
void
interpolate(Tuple3d tuple3d, Tuple3d tuple3d2, double double1)
void
interpolate(Tuple3d tuple3d, Tuple3d tuple3d2, float float1)
void
negate()
void
negate(Tuple3d tuple3d)
void
scale(double double1)
void
scale(double double1, Tuple3d tuple3d)
void
scaleAdd(double double1, Tuple3d tuple3d)
void
scaleAdd(double double1, Tuple3d tuple3d, Tuple3d tuple3d2)
void
scaleAdd(double double1, Tuple3f tuple3f)
void
set(double[] doubleArray)
void
set(double double1, double double2, double double3)
void
set(Tuple3d tuple3d)
void
set(Tuple3f tuple3f)
void
setX(double double1)
void
setY(double double1)
void
setZ(double double1)
void
sub(Tuple3d tuple3d)
void
sub(Tuple3d tuple3d, Tuple3d tuple3d2)
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
-
-
Constructor Details
-
Tuple3d
public Tuple3d(double double1, double double2, double double3) -
Tuple3d
public Tuple3d(double[] doubleArray) -
Tuple3d
-
Tuple3d
-
Tuple3d
public Tuple3d()
-
-
Method Details
-
set
public final void set(double double1, double double2, double double3) -
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
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
equals
-
equals
public boolean equals(java.lang.Object object)- Overrides:
equals
in classjava.lang.Object
-
epsilonEquals
-
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)
-