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 Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description void
absolute()
void
absolute(Tuple3f tuple3f)
void
add(Tuple3f tuple3f)
void
add(Tuple3f tuple3f, Tuple3f tuple3f2)
void
clamp(float float1, float float2)
void
clamp(float float1, float float2, Tuple3f tuple3f)
void
clampMax(float float1)
void
clampMax(float float1, Tuple3f tuple3f)
void
clampMin(float float1)
void
clampMin(float float1, Tuple3f tuple3f)
java.lang.Object
clone()
boolean
epsilonEquals(Tuple3f tuple3f, float float1)
boolean
equals(java.lang.Object object)
boolean
equals(Tuple3f tuple3f)
void
get(float[] floatArray)
void
get(Tuple3f tuple3f)
float
getX()
float
getY()
float
getZ()
int
hashCode()
void
interpolate(Tuple3f tuple3f, float float1)
void
interpolate(Tuple3f tuple3f, Tuple3f tuple3f2, float float1)
void
negate()
void
negate(Tuple3f tuple3f)
void
scale(float float1)
void
scale(float float1, Tuple3f tuple3f)
void
scaleAdd(float float1, Tuple3f tuple3f)
void
scaleAdd(float float1, Tuple3f tuple3f, Tuple3f tuple3f2)
void
set(float[] floatArray)
void
set(float float1, float float2, float float3)
void
set(Tuple3d tuple3d)
void
set(Tuple3f tuple3f)
void
setX(float float1)
void
setY(float float1)
void
setZ(float float1)
void
sub(Tuple3f tuple3f)
void
sub(Tuple3f tuple3f, Tuple3f tuple3f2)
java.lang.String
toString()
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
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
-
Tuple3f
-
Tuple3f
public Tuple3f()
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
set
public final void set(float float1, float float2, float float3) -
set
public final void set(float[] floatArray) -
set
-
set
-
get
public final void get(float[] floatArray) -
get
-
add
-
add
-
sub
-
sub
-
negate
-
negate
public final void negate() -
scale
-
scale
public final void scale(float float1) -
scaleAdd
-
scaleAdd
-
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
-
clampMin
-
clampMax
-
absolute
-
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
-
interpolate
-
clone
public java.lang.Object clone()- Overrides:
clone
in classjava.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)
-