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