Package | Description |
---|---|
org.scijava.vecmath |
Provides 3D vector mathematics classes.
|
Modifier and Type | Class and Description |
---|---|
class |
Point4i
A 4 element point represented by signed integer x,y,z,w
coordinates.
|
Modifier and Type | Method and Description |
---|---|
void |
Tuple4i.absolute(Tuple4i t)
Sets each component of the tuple parameter to its absolute
value and places the modified values into this tuple.
|
void |
Tuple4i.add(Tuple4i t1)
Sets the value of this tuple to the sum of itself and t1.
|
void |
Tuple4i.add(Tuple4i t1,
Tuple4i t2)
Sets the value of this tuple to the sum of tuples t1 and t2.
|
void |
Tuple4i.clamp(int min,
int max,
Tuple4i t)
Clamps the tuple parameter to the range [low, high] and
places the values into this tuple.
|
void |
Tuple4i.clampMax(int max,
Tuple4i t)
Clamps the maximum value of the tuple parameter to the max
parameter and places the values into this tuple.
|
void |
Tuple4i.clampMin(int min,
Tuple4i t)
Clamps the minimum value of the tuple parameter to the min
parameter and places the values into this tuple.
|
void |
Tuple4i.get(Tuple4i t)
Copies the values of this tuple into the tuple t.
|
void |
Tuple4i.negate(Tuple4i t1)
Sets the value of this tuple to the negation of tuple t1.
|
void |
Tuple4i.scale(int s,
Tuple4i t1)
Sets the value of this tuple to the scalar multiplication
of tuple t1.
|
void |
Tuple4i.scaleAdd(int s,
Tuple4i t1)
Sets the value of this tuple to the scalar multiplication
of itself and then adds tuple t1 (this = s*this + t1).
|
void |
Tuple4i.scaleAdd(int s,
Tuple4i t1,
Tuple4i t2)
Sets the value of this tuple to the scalar multiplication
of tuple t1 plus tuple t2 (this = s*t1 + t2).
|
void |
Tuple4i.set(Tuple4i t1)
Sets the value of this tuple to the value of tuple t1.
|
void |
Tuple4i.sub(Tuple4i t1)
Sets the value of this tuple to the difference
of itself and t1 (this = this - t1).
|
void |
Tuple4i.sub(Tuple4i t1,
Tuple4i t2)
Sets the value of this tuple to the difference
of tuples t1 and t2 (this = t1 - t2).
|
Constructor and Description |
---|
Point4i(Tuple4i t1)
Constructs and initializes a Point4i from the specified Tuple4i.
|
Tuple4i(Tuple4i t1)
Constructs and initializes a Tuple4i from the specified Tuple4i.
|
Copyright © 2016–2022 SciJava. All rights reserved.