Package javax.vecmath
Class Tuple4f
java.lang.Object
javax.vecmath.Tuple4f
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
- Direct Known Subclasses:
Color4f
,Point4f
,Quat4f
,TexCoord4f
,Vector4f
public abstract class Tuple4f
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(Tuple4f tuple4f)
void
add(Tuple4f tuple4f)
void
add(Tuple4f tuple4f, Tuple4f tuple4f2)
void
clamp(float float1, float float2)
void
clamp(float float1, float float2, Tuple4f tuple4f)
void
clampMax(float float1)
void
clampMax(float float1, Tuple4f tuple4f)
void
clampMin(float float1)
void
clampMin(float float1, Tuple4f tuple4f)
java.lang.Object
clone()
boolean
epsilonEquals(Tuple4f tuple4f, float float1)
boolean
equals(java.lang.Object object)
boolean
equals(Tuple4f tuple4f)
void
get(float[] floatArray)
void
get(Tuple4f tuple4f)
float
getW()
float
getX()
float
getY()
float
getZ()
int
hashCode()
void
interpolate(Tuple4f tuple4f, float float1)
void
interpolate(Tuple4f tuple4f, Tuple4f tuple4f2, float float1)
void
negate()
void
negate(Tuple4f tuple4f)
void
scale(float float1)
void
scale(float float1, Tuple4f tuple4f)
void
scaleAdd(float float1, Tuple4f tuple4f)
void
scaleAdd(float float1, Tuple4f tuple4f, Tuple4f tuple4f2)
void
set(float[] floatArray)
void
set(float float1, float float2, float float3, float float4)
void
set(Tuple4d tuple4d)
void
set(Tuple4f tuple4f)
void
setW(float float1)
void
setX(float float1)
void
setY(float float1)
void
setZ(float float1)
void
sub(Tuple4f tuple4f)
void
sub(Tuple4f tuple4f, Tuple4f tuple4f2)
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 -
w
public float w
-
-
Constructor Details
-
Tuple4f
public Tuple4f(float float1, float float2, float float3, float float4) -
Tuple4f
public Tuple4f(float[] floatArray) -
Tuple4f
-
Tuple4f
-
Tuple4f
public Tuple4f()
-
-
Method Details
-
set
public final void set(float float1, float float2, float float3, float float4) -
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
-
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
-
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) -
getW
public final float getW() -
setW
public final void setW(float float1)
-