public class BandElement extends Coordinate implements Comparable<BandElement>
x, y, z
Constructor and Description |
---|
BandElement(int x,
int y,
int z,
double value)
Constructs a new BandElement
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(BandElement other)
Compares this BandElement to another one
|
double |
getValue()
Returns arbitrary data this voxel element was assigned
|
void |
setValue(double value)
Sets arbitrary data this voxel element should carry
|
public BandElement(int x, int y, int z, double value)
x
- The X coordinate to be sety
- The Y coordinate to be setz
- The Z coordinate to be setvalue
- Arbitrary data to be setpublic final void setValue(double value)
value
- The data to be setpublic final double getValue()
public final int compareTo(BandElement other)
compareTo
in interface Comparable<BandElement>
other
- The other BandElementCopyright © 2015–2021 Fiji. All rights reserved.