|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use TupleInterface | |
|---|---|
| org.openmali.vecmath2 | |
| Uses of TupleInterface in org.openmali.vecmath2 |
|---|
| Subinterfaces of TupleInterface in org.openmali.vecmath2 | |
|---|---|
interface |
PointInterface<T extends TupleNf<T>,P extends TupleNf<?>>
Common interface for all vector types. |
interface |
VectorInterface<T extends TupleNf<T>,V extends TupleNf<?>>
Common interface for all vector types. |
| Classes in org.openmali.vecmath2 that implement TupleInterface | |
|---|---|
class |
AxisAngle3f
A 4 element axis angle represented by single precision floating point x,y,z,angle components. |
class |
Point2f
A 2 element point that is represented by single precision floating point x,y coordinates. |
class |
Point3f
A simple 3-dimensional float-Point implementation. |
class |
Quaternion4f
A 4 element quaternion represented by single precision floating point a,b,c,d coordinates. |
class |
Tuple2f
A simple three-dimensional tuple implementation. |
class |
Tuple3f
A simple three-dimensional tuple implementation. |
class |
TupleNf<T extends TupleNf<T>>
This is a base-class for all float tuples like Tuple2f, Tuple3f, VectorNf, etc. |
class |
Vector2f
A 2 element vector that is represented by single precision floating point x, y coordinates. |
class |
Vector3f
A simple 3-dimensional float-Vector implementation. |
class |
Vector4f
A simple 4-dimensional float-Vector implementation. |
class |
VectorNf
A float precision, general one dimensional vector class. |
| Methods in org.openmali.vecmath2 that return TupleInterface | |
|---|---|
TupleInterface<T> |
TupleInterface.absolute()
Sets each component of the tuple parameter to its absolute value and places the modified values into this tuple. |
TupleInterface<T> |
TupleInterface.absolute(T tuple)
Sets each component of the tuple parameter to its absolute value and places the modified values into this tuple. |
TupleInterface<T> |
TupleInterface.add(T tuple2)
Sets the value of this tuple to the vector sum of itself and tuple t1. |
TupleInterface<T> |
TupleInterface.add(T tuple1,
T tuple2)
Sets the value of this tuple to the vector sum of tuples t1 and t2. |
TupleInterface<T> |
TupleInterface.addValue(int i,
float v)
Adds v to this tuple's i'th value. |
TupleInterface<T> |
TupleInterface.clamp(float min,
float max)
Clamps this tuple to the range [min, max]. |
TupleInterface<T> |
TupleInterface.clamp(float min,
float max,
T tuple)
Clamps the tuple parameter to the range [min, max] and places the values into this tuple. |
TupleInterface<T> |
TupleInterface.clampMax(float max)
Clamps the maximum value of this tuple to the max parameter. |
TupleInterface<T> |
TupleInterface.clampMax(float max,
T tuple)
Clamps the maximum value of the tuple parameter to the max parameter and places the values into this tuple. |
TupleInterface<T> |
TupleInterface.clampMin(float min)
Clamps the minimum value of this tuple to the min parameter. |
TupleInterface<T> |
TupleInterface.clampMin(float min,
T tuple)
Clamps the minimum value of the tuple parameter to the min parameter and places the values into this tuple. |
TupleInterface<T> |
TupleInterface.div(float v)
Divides all components of this tuple by v. |
TupleInterface<T> |
TupleInterface.divValue(int i,
float v)
Divides this tuple's i'th value by v. |
TupleInterface<T> |
TupleInterface.fill(float f)
Sets all values of this TupleNf to f. |
TupleInterface<T> |
TupleInterface.mul(float v)
Multiplies all components of this tuple with v. |
TupleInterface<T> |
TupleInterface.mulValue(int i,
float v)
Multiplies v to this tuple's i'th value. |
TupleInterface<T> |
TupleInterface.negate()
Negates the value of this vector in place. |
TupleInterface<T> |
TupleInterface.negate(T tuple)
Sets the value of this tuple to the negation of tuple that. |
TupleInterface<T> |
TupleInterface.round(int decPlaces)
Rounds this tuple to the given number of decimal places. |
TupleInterface<T> |
TupleInterface.round(T tuple,
int decPlaces)
Rounds this tuple to the given number of decimal places. |
TupleInterface<T> |
TupleInterface.scale(float factor)
Sets the value of this tuple to the scalar multiplication of itself. |
TupleInterface<T> |
TupleInterface.scale(float factor,
T tuple)
Sets the value of this tuple to the scalar multiplication of tuple t1. |
TupleInterface<T> |
TupleInterface.scaleAdd(float factor,
T tuple2)
Sets the value of this tuple to the scalar multiplication of itself and then adds tuple t1 (this = s*this + t1). |
TupleInterface<T> |
TupleInterface.scaleAdd(float factor,
T tuple1,
T tuple2)
Sets the value of this tuple to the scalar multiplication of tuple t1 and then adds tuple t2 (this = s*t1 + t2). |
TupleInterface<T> |
TupleInterface.set(float[] values)
Sets all values of this Tuple to the specified ones. |
TupleInterface<T> |
TupleInterface.set(float[] values,
int offset)
Sets all values of this Tuple to the specified ones. |
TupleInterface<T> |
TupleInterface.set(TupleNf<?> tuple)
Sets all three values of this Tuple to the specified ones. |
TupleInterface<T> |
TupleInterface.setValue(int i,
float v)
Sets the i-th value of this tuple. |
TupleInterface<T> |
TupleInterface.setZero()
Sets all components to zero. |
TupleInterface<T> |
TupleInterface.sub(T tuple2)
Sets the value of this tuple to the vector difference of itself and tuple t1 (this = this - t1). |
TupleInterface<T> |
TupleInterface.sub(T tuple1,
T tuple2)
Sets the value of this tuple to the vector difference of tuple t1 and t2 (this = t1 - t2). |
TupleInterface<T> |
TupleInterface.subValue(int i,
float v)
Subtracts v of this tuple's i'th value. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||