Serializable
, Cloneable
public class Point4i extends Tuple4i implements Serializable
Constructor | Description |
---|---|
Point4i() |
Constructs and initializes a Point4i to (0,0,0,0).
|
Point4i(int[] t) |
Constructs and initializes a Point4i from the array of length 4.
|
Point4i(int x,
int y,
int z,
int w) |
Constructs and initializes a Point4i from the specified
x, y, z, and w coordinates.
|
Point4i(Tuple4i t1) |
Constructs and initializes a Point4i from the specified Tuple4i.
|
finalize, getClass, notify, notifyAll, wait, wait, wait
absolute, absolute, add, add, clamp, clamp, clampMax, clampMax, clampMin, clampMin, clone, equals, get, get, getW, getX, getY, getZ, hashCode, negate, negate, scale, scale, scaleAdd, scaleAdd, set, set, set, setW, setX, setY, setZ, sub, sub, toString
public Point4i(int x, int y, int z, int w)
x
- the x coordinatey
- the y coordinatez
- the z coordinatew
- the w coordinatepublic Point4i(int[] t)
t
- the array of length 4 containing x, y, z, and w in order.public Point4i(Tuple4i t1)
t1
- the Tuple4i containing the initialization x, y, z,
and w data.public Point4i()