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 t)
void
add(Tuple4i t1)
void
add(Tuple4i t1, Tuple4i t2)
void
clamp(int min, int max)
void
clamp(int min, int max, Tuple4i t)
void
clampMax(int max)
void
clampMax(int max, Tuple4i t)
void
clampMin(int min)
void
clampMin(int min, Tuple4i t)
java.lang.Object
clone()
boolean
equals(java.lang.Object t1)
void
get(int[] t)
void
get(Tuple4i t)
int
getW()
int
getX()
int
getY()
int
getZ()
int
hashCode()
void
negate()
void
negate(Tuple4i t1)
void
scale(int s)
void
scale(int s, Tuple4i t1)
void
scaleAdd(int s, Tuple4i t1)
void
scaleAdd(int s, Tuple4i t1, Tuple4i t2)
void
set(int[] t)
void
set(int x, int y, int z, int w)
void
set(Tuple4i t1)
void
setW(int w)
void
setX(int x)
void
setY(int y)
void
setZ(int z)
void
sub(Tuple4i t1)
void
sub(Tuple4i t1, Tuple4i t2)
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 x, int y, int z, int w) -
Tuple4i
public Tuple4i(int[] t) -
Tuple4i
-
Tuple4i
public Tuple4i()
-
-
Method Details
-
set
public final void set(int x, int y, int z, int w) -
set
public final void set(int[] t) -
set
-
get
public final void get(int[] t) -
get
-
add
-
add
-
sub
-
sub
-
negate
-
negate
public final void negate() -
scale
-
scale
public final void scale(int s) -
scaleAdd
-
scaleAdd
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object t1)- 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 min, int max) -
clampMin
public final void clampMin(int min) -
clampMax
public final void clampMax(int max) -
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 x) -
getY
public final int getY() -
setY
public final void setY(int y) -
getZ
public final int getZ() -
setZ
public final void setZ(int z) -
getW
public final int getW() -
setW
public final void setW(int w)
-