Modifier and Type | Method and Description |
---|---|
void |
set(boolean v)
Sets this sample to the given
boolean value. |
void |
set(double v)
Sets this sample to the given
double value. |
void |
set(float v)
Sets this sample to the given
float value. |
void |
set(int v)
Sets this sample to the given
int value. |
void |
set(int bitIndex,
boolean v)
Sets the sample at the given bit index to the given
bit value. |
getBit, getBoolean, getDataType, getDouble, getFloat, getIndex, getInt, getNode
void set(int bitIndex, boolean v)
bit
value.bitIndex
- The bit index. Valid range is zero to n-1, where n is 8, 16, 32, 64,
depending on the actual raster data type.v
- The new value.void set(boolean v)
boolean
value.v
- The new value.void set(int v)
int
value.v
- The new value.void set(float v)
float
value.v
- The new value.void set(double v)
double
value.v
- The new value.Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.