public interface Sample
RasterDataNode at a certain a certain pixel position.
This interface is not intended to be implemented by clients.
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBit(int bitIndex)
Interprets an integer sample as a sequence of bits (flags).
|
boolean |
getBoolean() |
int |
getDataType() |
double |
getDouble() |
float |
getFloat() |
int |
getIndex() |
int |
getInt() |
RasterDataNode |
getNode() |
RasterDataNode getNode()
int getIndex()
SourceSampleConfigurer or TargetSampleConfigurer
method and used within the sample arrays passed to
computeSample() or
computePixel() methods.int getDataType()
RasterDataNode.getGeophysicalDataType()boolean getBit(int bitIndex)
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.bit at given bit index.boolean getBoolean()
boolean.int getInt()
int.float getFloat()
float.double getDouble()
double.Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.