Package | Description |
---|---|
spim.vecmath |
Modifier and Type | Class and Description |
---|---|
class |
Point4d
A 4 element vector represented by double precision floating point x,y,z,w
coordinates.
|
class |
Quat4d
A 4-element quaternion represented by double precision floating point x,y,z,w
coordinates.
|
class |
Vector4d
A 4-element vector represented by double-precision floating point x,y,z,w
coordinates.
|
Modifier and Type | Method and Description |
---|---|
void |
Tuple4d.absolute(Tuple4d t)
Sets each component of the tuple parameter to its absolute value and
places the modified values into this tuple.
|
void |
Tuple4d.add(Tuple4d t1)
Sets the value of this tuple to the sum of itself and tuple t1.
|
void |
Tuple4d.add(Tuple4d t1,
Tuple4d t2)
Sets the value of this tuple to the tuple sum of tuples t1 and t2.
|
void |
Tuple4d.clamp(double min,
double max,
Tuple4d t)
Clamps the tuple parameter to the range [low, high] and places the values
into this tuple.
|
void |
Tuple4d.clamp(float min,
float max,
Tuple4d t)
Deprecated.
Use clamp(double,double,Tuple4d) instead
|
void |
Tuple4d.clampMax(double max,
Tuple4d t)
Clamps the maximum value of the tuple parameter to the max parameter and
places the values into this tuple.
|
void |
Tuple4d.clampMax(float max,
Tuple4d t)
Deprecated.
Use clampMax(double,Tuple4d) instead
|
void |
Tuple4d.clampMin(double min,
Tuple4d t)
Clamps the minimum value of the tuple parameter to the min parameter and
places the values into this tuple.
|
void |
Tuple4d.clampMin(float min,
Tuple4d t)
Deprecated.
Use clampMin(double,Tuple4d) instead
|
boolean |
Tuple4d.epsilonEquals(Tuple4d t1,
double 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 |
Tuple4d.equals(Tuple4d t1)
Returns true if all of the data members of Tuple4d t1 are equal to the
corresponding data members in this Tuple4d.
|
void |
Tuple4d.get(Tuple4d t)
Gets the value of this tuple and places it into the Tuple4d argument of
length four in x,y,z,w order.
|
void |
Tuple4d.interpolate(Tuple4d t1,
double alpha)
Linearly interpolates between this tuple and tuple t1 and places the
result into this tuple: this = (1-alpha)*this + alpha*t1.
|
void |
Tuple4d.interpolate(Tuple4d t1,
float alpha)
Deprecated.
Use interpolate(Tuple4d,double) instead
|
void |
Tuple4d.interpolate(Tuple4d t1,
Tuple4d t2,
double alpha)
Linearly interpolates between tuples t1 and t2 and places the result into
this tuple: this = (1-alpha)*t1 + alpha*t2.
|
void |
Tuple4d.interpolate(Tuple4d t1,
Tuple4d t2,
float alpha)
Deprecated.
Use interpolate(Tuple4d,Tuple4d,double) instead
|
void |
Tuple4d.negate(Tuple4d t1)
Sets the value of this tuple to the negation of tuple t1.
|
void |
Tuple4d.scale(double s,
Tuple4d t1)
Sets the value of this tuple to the scalar multiplication of the scale
factor with the tuple t1.
|
void |
Tuple4d.scaleAdd(double s,
Tuple4d t1)
Sets the value of this tuple to the scalar multiplication of itself and
then adds tuple t1 (this = s*this + t1).
|
void |
Tuple4d.scaleAdd(double s,
Tuple4d t1,
Tuple4d t2)
Sets the value of this tuple to the scalar multiplication by s of tuple
t1 plus tuple t2 (this = s*t1 + t2).
|
void |
Tuple4d.scaleAdd(float s,
Tuple4d t1)
Deprecated.
Use scaleAdd(double,Tuple4d) instead
|
void |
Tuple4f.set(Tuple4d t1)
Sets the value of this tuple to the value of tuple t1.
|
void |
Tuple4d.set(Tuple4d t1)
Sets the value of this tuple to the value of tuple t1.
|
void |
Tuple4d.sub(Tuple4d t1)
Sets the value of this tuple to the difference of itself and tuple t1
(this = this - t1).
|
void |
Tuple4d.sub(Tuple4d t1,
Tuple4d t2)
Sets the value of this tuple to the difference of tuples t1 and t2 (this
= t1 - t2).
|
void |
Matrix4d.transform(Tuple4d vec)
Transform the vector vec using this Matrix4d and place the result back
into vec.
|
void |
Matrix4d.transform(Tuple4d vec,
Tuple4d vecOut)
Transform the vector vec using this Matrix4d and place the result into
vecOut.
|
Constructor and Description |
---|
Point4d(Tuple4d t1)
Constructs and initializes a Point4d from the specified Tuple4d.
|
Point4f(Tuple4d t1)
Constructs and initializes a Point4f from the specified Tuple4d.
|
Quat4d(Tuple4d t1)
Constructs and initializes a Quat4d from the specified Tuple4d.
|
Quat4f(Tuple4d t1)
Constructs and initializes a Quat4f from the specified Tuple4d.
|
Tuple4d(Tuple4d t1)
Constructs and initializes a Tuple4d from the specified Tuple4d.
|
Tuple4f(Tuple4d t1)
Constructs and initializes a Tuple4f from the specified Tuple4d.
|
Vector4d(Tuple4d t1)
Constructs and initializes a Vector4d from the specified Tuple4d.
|
Vector4f(Tuple4d t1)
Constructs and initializes a Vector4f from the specified Tuple4d.
|
Copyright © 2015–2021 Fiji. All rights reserved.