Top Description Fields Constructors Methods
javax.vecmath

public Class Point4i

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

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

Field Summary

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

Constructor Summary

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

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

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

Constructs and initializes a Point4i from the array of length 4.

public
Point4i(Tuple4i
the Tuple4i containing the initialization x, y, z, and w data.
t1
)

Constructs and initializes a Point4i from the specified Tuple4i.

public
Point4i()

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

Method Summary

Inherited from javax.vecmath.Tuple4i:
absoluteabsoluteaddaddclampclampclampMaxclampMaxclampMinclampMincloneequalsgetgetgetWgetXgetYgetZhashCodenegatenegatescalescalescaleAddscaleAddsetsetsetsetWsetXsetYsetZsubsubtoString

Field Detail

serialVersionUIDback to summary
pack-priv static final long serialVersionUID

Hides javax.vecmath.Tuple4i.serialVersionUID.

Constructor Detail

Point4iback to summary
public Point4i(int x, int y, int z, int w)

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

Parameters
x:int

the x coordinate

y:int

the y coordinate

z:int

the z coordinate

w:int

the w coordinate

Point4iback to summary
public Point4i(int[] t)

Constructs and initializes a Point4i from the array of length 4.

Parameters
t:int[]

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

Point4iback to summary
public Point4i(Tuple4i t1)

Constructs and initializes a Point4i from the specified Tuple4i.

Parameters
t1:Tuple4i

the Tuple4i containing the initialization x, y, z, and w data.

Point4iback to summary
public Point4i()

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