Package javax.vecmath
Class Point4i
- java.lang.Object
-
- javax.vecmath.Tuple4i
-
- javax.vecmath.Point4i
-
- All Implemented Interfaces:
java.io.Serializable
public class Point4i extends Tuple4i implements java.io.Serializable
A 4 element point that is represented by signed integer x,y,z and w coordinates.- Since:
- Java 3D 1.2
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Point4i()
Constructs and initializes a Point4i to (0,0,0,0).Point4i(int[] t)
Constructs and initializes a Point4i from the specified array.Point4i(int x, int y, int z, int w)
Constructs and initializes a Point4i from the specified xyzw coordinates.Point4i(Point4i t1)
Constructs and initializes a Point4i from the specified Point4i.
-
-
-
Constructor Detail
-
Point4i
public Point4i(int x, int y, int z, int w)
Constructs and initializes a Point4i from the specified xyzw coordinates.- Parameters:
x
- the x coordinatey
- the y coordinatez
- the z coordinatew
- the w coordinate
-
Point4i
public Point4i(int[] t)
Constructs and initializes a Point4i from the specified array.- Parameters:
t
- the array of length 4 containing xyzw in order
-
Point4i
public Point4i(Point4i t1)
Constructs and initializes a Point4i from the specified Point4i.- Parameters:
t1
- the Point4i containing the initialization x y z w data
-
Point4i
public Point4i()
Constructs and initializes a Point4i to (0,0,0,0).
-
-