|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.media.ding3d.vecmath.Tuple2i
javax.media.ding3d.vecmath.Point2i
public class Point2i
A 2-element point represented by signed integer x,y coordinates.
| Field Summary |
|---|
| Fields inherited from class javax.media.ding3d.vecmath.Tuple2i |
|---|
x, y |
| Constructor Summary | |
|---|---|
Point2i()
Constructs and initializes a Point2i to (0,0). |
|
Point2i(int[] t)
Constructs and initializes a Point2i from the array of length 2. |
|
Point2i(int x,
int y)
Constructs and initializes a Point2i from the specified x and y coordinates. |
|
Point2i(Tuple2i t1)
Constructs and initializes a Point2i from the specified Tuple2i. |
|
| Method Summary |
|---|
| Methods inherited from class javax.media.ding3d.vecmath.Tuple2i |
|---|
absolute, absolute, add, add, clamp, clamp, clampMax, clampMax, clampMin, clampMin, clone, equals, get, get, getX, getY, hashCode, negate, negate, scale, scale, scaleAdd, scaleAdd, set, set, set, setX, setY, sub, sub, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Point2i(int x,
int y)
x - the x coordinatey - the y coordinatepublic Point2i(int[] t)
t - the array of length 2 containing x and y in order.public Point2i(Tuple2i t1)
t1 - the Tuple2i containing the initialization x and y
data.public Point2i()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||