Package javax.vecmath
Class Tuple4i
java.lang.Object
javax.vecmath.Tuple4i
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
- Direct Known Subclasses:
Point4i
public abstract class Tuple4i
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(Tuple4i tuple4i)
void
add(Tuple4i tuple4i)
void
add(Tuple4i tuple4i, Tuple4i tuple4i2)
void
clamp(int int1, int int2)
void
clamp(int int1, int int2, Tuple4i tuple4i)
void
clampMax(int int1)
void
clampMax(int int1, Tuple4i tuple4i)
void
clampMin(int int1)
void
clampMin(int int1, Tuple4i tuple4i)
java.lang.Object
clone()
boolean
equals(java.lang.Object object)
void
get(int[] intArray)
void
get(Tuple4i tuple4i)
int
getW()
int
getX()
int
getY()
int
getZ()
int
hashCode()
void
negate()
void
negate(Tuple4i tuple4i)
void
scale(int int1)
void
scale(int int1, Tuple4i tuple4i)
void
scaleAdd(int int1, Tuple4i tuple4i)
void
scaleAdd(int int1, Tuple4i tuple4i, Tuple4i tuple4i2)
void
set(int[] intArray)
void
set(int int1, int int2, int int3, int int4)
void
set(Tuple4i tuple4i)
void
setW(int int1)
void
setX(int int1)
void
setY(int int1)
void
setZ(int int1)
void
sub(Tuple4i tuple4i)
void
sub(Tuple4i tuple4i, Tuple4i tuple4i2)
java.lang.String
toString()
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
x
public int x -
y
public int y -
z
public int z -
w
public int w
-
-
Constructor Details
-
Tuple4i
public Tuple4i(int int1, int int2, int int3, int int4) -
Tuple4i
public Tuple4i(int[] intArray) -
Tuple4i
-
Tuple4i
public Tuple4i()
-
-
Method Details
-
set
public final void set(int int1, int int2, int int3, int int4) -
set
public final void set(int[] intArray) -
set
-
get
public final void get(int[] intArray) -
get
-
add
-
add
-
sub
-
sub
-
negate
-
negate
public final void negate() -
scale
-
scale
public final void scale(int int1) -
scaleAdd
-
scaleAdd
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object object)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
clamp
-
clampMin
-
clampMax
-
absolute
-
clamp
public final void clamp(int int1, int int2) -
clampMin
public final void clampMin(int int1) -
clampMax
public final void clampMax(int int1) -
absolute
public final void absolute() -
clone
public java.lang.Object clone()- Overrides:
clone
in classjava.lang.Object
-
getX
public final int getX() -
setX
public final void setX(int int1) -
getY
public final int getY() -
setY
public final void setY(int int1) -
getZ
public final int getZ() -
setZ
public final void setZ(int int1) -
getW
public final int getW() -
setW
public final void setW(int int1)
-