public class Point3i extends Tuple3i implements java.io.Serializable
Constructor and Description |
---|
Point3i()
Constructs and initializes a Point3i to (0,0,0).
|
Point3i(int[] t)
Constructs and initializes a Point3i from the specified array.
|
Point3i(int x,
int y,
int z)
Constructs and initializes a Point3i from the specified xyz coordinates.
|
Point3i(Point3i t1)
Constructs and initializes a Point3i from the specified Point3i.
|
public Point3i(int x, int y, int z)
x
- the x coordinatey
- the y coordinatez
- the z coordinatepublic Point3i(int[] t)
t
- the array of length 3 containing xyz in orderpublic Point3i(Point3i t1)
t1
- the Point3i containing the initialization x y z datapublic Point3i()