javax.vecmath
Class Point3i

java.lang.Object
  extended by javax.vecmath.Tuple3i
      extended by javax.vecmath.Point3i
All Implemented Interfaces:
java.io.Serializable

public class Point3i
extends Tuple3i
implements java.io.Serializable

A 3 element point that is represented by signed integer x,y,z coordinates.

Since:
Java 3D 1.2
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.vecmath.Tuple3i
x, y, z
 
Constructor Summary
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.
 
Method Summary
 
Methods inherited from class javax.vecmath.Tuple3i
absolute, absolute, add, add, clamp, clamp, clampMax, clampMax, clampMin, clampMin, equals, get, get, hashCode, negate, negate, scale, scale, scaleAdd, scaleAdd, set, set, set, sub, sub, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Point3i

public Point3i(int x,
               int y,
               int z)
Constructs and initializes a Point3i from the specified xyz coordinates.

Parameters:
x - the x coordinate
y - the y coordinate
z - the z coordinate

Point3i

public Point3i(int[] t)
Constructs and initializes a Point3i from the specified array.

Parameters:
t - the array of length 3 containing xyz in order

Point3i

public Point3i(Point3i t1)
Constructs and initializes a Point3i from the specified Point3i.

Parameters:
t1 - the Point3i containing the initialization x y z data

Point3i

public Point3i()
Constructs and initializes a Point3i to (0,0,0).