Top Description Fields Constructors Methods
javax.vecmath

public Class Point3i

extends Tuple3i
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Imports
java.lang.Math

A 3 element point represented by signed integer x,y,z coordinates.
Since
vecmath 1.2

Field Summary

Modifier and TypeField and Description
pack-priv static final long
Inherited from javax.vecmath.Tuple3i:
xyz

Constructor Summary

AccessConstructor and Description
public
Point3i(int
the x coordinate
x
,
int
the y coordinate
y
,
int
the z coordinate
z
)

Constructs and initializes a Point3i from the specified x, y, and z coordinates.

public
Point3i(int[]
the array of length 3 containing x, y, and z in order.
t
)

Constructs and initializes a Point3i from the array of length 3.

public
Point3i(Tuple3i
the Tuple3i containing the initialization x, y, and z data.
t1
)

Constructs and initializes a Point3i from the specified Tuple3i.

public
Point3i()

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

Method Summary

Inherited from javax.vecmath.Tuple3i:
absoluteabsoluteaddaddclampclampclampMaxclampMaxclampMinclampMincloneequalsgetgetgetXgetYgetZhashCodenegatenegatescalescalescaleAddscaleAddsetsetsetsetXsetYsetZsubsubtoString

Field Detail

serialVersionUIDback to summary
pack-priv static final long serialVersionUID

Hides javax.vecmath.Tuple3i.serialVersionUID.

Constructor Detail

Point3iback to summary
public Point3i(int x, int y, int z)

Constructs and initializes a Point3i from the specified x, y, and z coordinates.

Parameters
x:int

the x coordinate

y:int

the y coordinate

z:int

the z coordinate

Point3iback to summary
public Point3i(int[] t)

Constructs and initializes a Point3i from the array of length 3.

Parameters
t:int[]

the array of length 3 containing x, y, and z in order.

Point3iback to summary
public Point3i(Tuple3i t1)

Constructs and initializes a Point3i from the specified Tuple3i.

Parameters
t1:Tuple3i

the Tuple3i containing the initialization x, y, and z data.

Point3iback to summary
public Point3i()

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