|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Tuple2i | |
---|---|
javax.vecmath | Provides 3D vector mathematics classes. |
Uses of Tuple2i in javax.vecmath |
---|
Subclasses of Tuple2i in javax.vecmath | |
---|---|
class |
Point2i
A 2-element point represented by signed integer x,y coordinates. |
Methods in javax.vecmath with parameters of type Tuple2i | |
---|---|
void |
Tuple2i.absolute(Tuple2i t)
Sets each component of the tuple parameter to its absolute value and places the modified values into this tuple. |
void |
Tuple2i.add(Tuple2i t1)
Sets the value of this tuple to the sum of itself and t1. |
void |
Tuple2i.add(Tuple2i t1,
Tuple2i t2)
Sets the value of this tuple to the sum of tuples t1 and t2. |
void |
Tuple2i.clamp(int min,
int max,
Tuple2i t)
Clamps the tuple parameter to the range [low, high] and places the values into this tuple. |
void |
Tuple2i.clampMax(int max,
Tuple2i t)
Clamps the maximum value of the tuple parameter to the max parameter and places the values into this tuple. |
void |
Tuple2i.clampMin(int min,
Tuple2i t)
Clamps the minimum value of the tuple parameter to the min parameter and places the values into this tuple. |
void |
Tuple2i.get(Tuple2i t)
Copies the values of this tuple into the tuple t. |
void |
Tuple2i.negate(Tuple2i t1)
Sets the value of this tuple to the negation of tuple t1. |
void |
Tuple2i.scale(int s,
Tuple2i t1)
Sets the value of this tuple to the scalar multiplication of tuple t1. |
void |
Tuple2i.scaleAdd(int s,
Tuple2i t1)
Sets the value of this tuple to the scalar multiplication of itself and then adds tuple t1 (this = s*this + t1). |
void |
Tuple2i.scaleAdd(int s,
Tuple2i t1,
Tuple2i t2)
Sets the value of this tuple to the scalar multiplication of tuple t1 plus tuple t2 (this = s*t1 + t2). |
void |
Tuple2i.set(Tuple2i t1)
Sets the value of this tuple to the value of tuple t1. |
void |
Tuple2i.sub(Tuple2i t1)
Sets the value of this tuple to the difference of itself and t1 (this = this - t1). |
void |
Tuple2i.sub(Tuple2i t1,
Tuple2i t2)
Sets the value of this tuple to the difference of tuples t1 and t2 (this = t1 - t2). |
Constructors in javax.vecmath with parameters of type Tuple2i | |
---|---|
Point2i(Tuple2i t1)
Constructs and initializes a Point2i from the specified Tuple2i. |
|
Tuple2i(Tuple2i t1)
Constructs and initializes a Tuple2i from the specified Tuple2i. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |