|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Tuple2f in javax.vecmath |
---|
Subclasses of Tuple2f in javax.vecmath | |
---|---|
class |
Point2f
A 2 element point that is represented by single precision floating point x,y coordinates. |
class |
TexCoord2f
A 2-element vector that is represented by single-precision floating point x,y coordinates. |
class |
Vector2f
A 2-element vector that is represented by single-precision floating point x,y coordinates. |
Methods in javax.vecmath with parameters of type Tuple2f | |
---|---|
void |
Tuple2f.absolute(Tuple2f t)
Sets each component of the tuple parameter to its absolute value and places the modified values into this tuple. |
void |
Tuple2f.add(Tuple2f t1)
Sets the value of this tuple to the vector sum of itself and tuple t1. |
void |
Tuple2f.add(Tuple2f t1,
Tuple2f t2)
Sets the value of this tuple to the vector sum of tuples t1 and t2. |
void |
Tuple2f.clamp(float min,
float max,
Tuple2f t)
Clamps the tuple parameter to the range [low, high] and places the values into this tuple. |
void |
Tuple2f.clampMax(float max,
Tuple2f t)
Clamps the maximum value of the tuple parameter to the max parameter and places the values into this tuple. |
void |
Tuple2f.clampMin(float min,
Tuple2f t)
Clamps the minimum value of the tuple parameter to the min parameter and places the values into this tuple. |
boolean |
Tuple2f.epsilonEquals(Tuple2f t1,
float epsilon)
Returns true if the L-infinite distance between this tuple and tuple t1 is less than or equal to the epsilon parameter, otherwise returns false. |
boolean |
Tuple2f.equals(Tuple2f t1)
Returns true if all of the data members of Tuple2f t1 are equal to the corresponding data members in this Tuple2f. |
void |
Tuple2f.interpolate(Tuple2f t1,
float alpha)
Linearly interpolates between this tuple and tuple t1 and places the result into this tuple: this = (1-alpha)*this + alpha*t1. |
void |
Tuple2f.interpolate(Tuple2f t1,
Tuple2f t2,
float alpha)
Linearly interpolates between tuples t1 and t2 and places the result into this tuple: this = (1-alpha)*t1 + alpha*t2. |
void |
Tuple2f.negate(Tuple2f t1)
Sets the value of this tuple to the negation of tuple t1. |
void |
Tuple2f.scale(float s,
Tuple2f t1)
Sets the value of this tuple to the scalar multiplication of tuple t1. |
void |
Tuple2f.scaleAdd(float s,
Tuple2f t1)
Sets the value of this tuple to the scalar multiplication of itself and then adds tuple t1 (this = s*this + t1). |
void |
Tuple2f.scaleAdd(float s,
Tuple2f t1,
Tuple2f t2)
Sets the value of this tuple to the scalar multiplication of tuple t1 and then adds tuple t2 (this = s*t1 + t2). |
void |
Tuple2f.set(Tuple2f t1)
Sets the value of this tuple to the value of the Tuple2f argument. |
void |
Tuple2d.set(Tuple2f t1)
Sets the value of this tuple to the value of Tuple2f t1. |
void |
GVector.set(Tuple2f tuple)
Sets the value of this vector to the values in tuple |
void |
Tuple2f.sub(Tuple2f t1)
Sets the value of this tuple to the vector difference of itself and tuple t1 (this = this - t1). |
void |
Tuple2f.sub(Tuple2f t1,
Tuple2f t2)
Sets the value of this tuple to the vector difference of tuple t1 and t2 (this = t1 - t2). |
Constructors in javax.vecmath with parameters of type Tuple2f | |
---|---|
GVector(Tuple2f tuple)
Constructs a new GVector and copies the initial values from the specified tuple. |
|
Point2d(Tuple2f t1)
Constructs and initializes a Point2d from the specified Tuple2f. |
|
Point2f(Tuple2f t1)
Constructs and initializes a Point2f from the specified Tuple2f. |
|
TexCoord2f(Tuple2f t1)
Constructs and initializes a TexCoord2f from the specified Tuple2f. |
|
Tuple2d(Tuple2f t1)
Constructs and initializes a Tuple2d from the specified Tuple2f. |
|
Tuple2f(Tuple2f t1)
Constructs and initializes a Tuple2f from the specified Tuple2f. |
|
Vector2d(Tuple2f t1)
Constructs and initializes a Vector2d from the specified Tuple2f. |
|
Vector2f(Tuple2f t1)
Constructs and initializes a Vector2f from the specified Tuple2f. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |