Package | Description |
---|---|
org.geotools.coverage |
Coverage implementation.
|
org.opengis.coverage |
Coverages (generate a value for any point).
|
Modifier and Type | Method and Description |
---|---|
SampleDimensionType |
GridSampleDimension.getSampleDimensionType()
Returns a code value indicating grid value data type.
|
static SampleDimensionType |
TypeMap.getSampleDimensionType(double min,
double max)
Returns the smallest sample dimension type capable to hold the specified range of values.
|
static SampleDimensionType |
TypeMap.getSampleDimensionType(long min,
long max)
Returns the smallest sample dimension type capable to hold the specified range of values.
|
static SampleDimensionType |
TypeMap.getSampleDimensionType(Range<?> range)
Returns the smallest sample dimension type capable to hold the specified range of values.
|
static SampleDimensionType |
TypeMap.getSampleDimensionType(SampleModel model,
int band)
Returns the sample dimension type for the specified sample model and band number.
|
Modifier and Type | Method and Description |
---|---|
static int |
TypeMap.getDataBufferType(SampleDimensionType type)
Returns the
DataBuffer type. |
static InternationalString |
TypeMap.getName(SampleDimensionType type)
Returns the sample dimension type name as an international string.
|
static NumberRange<? extends Number> |
TypeMap.getPositiveRange(SampleDimensionType type)
Returns the range of positive sample values (excluding 0).
|
static NumberRange<? extends Number> |
TypeMap.getRange(SampleDimensionType type)
Returns the full range of sample values for the specified dimension type.
|
static int |
TypeMap.getSize(SampleDimensionType type)
Returns the size in bits.
|
static boolean |
TypeMap.isFloatingPoint(SampleDimensionType type)
Returns
true for floating-point data type. |
static boolean |
TypeMap.isSigned(SampleDimensionType type)
Returns
true for signed sample type. |
static Number |
TypeMap.wrapSample(double value,
SampleDimensionType type,
boolean allowWidening)
Wraps the specified value into a number of the specified data type.
|
Constructor and Description |
---|
GridSampleDimension(CharSequence description,
SampleDimensionType type,
ColorInterpretation color,
Color[] palette,
CharSequence[] categories,
double[] nodata,
double minimum,
double maximum,
double scale,
double offset,
Unit<?> unit)
Constructs a sample dimension with the specified properties.
|
Modifier and Type | Field and Description |
---|---|
static SampleDimensionType |
SampleDimensionType.REAL_32BITS
Simple precision floating point numbers.
|
static SampleDimensionType |
SampleDimensionType.REAL_64BITS
Double precision floating point numbers.
|
static SampleDimensionType |
SampleDimensionType.SIGNED_16BITS
Signed 16 bits integers.
|
static SampleDimensionType |
SampleDimensionType.SIGNED_32BITS
Signed 32 bits integers.
|
static SampleDimensionType |
SampleDimensionType.SIGNED_8BITS
Signed 8 bits integers.
|
static SampleDimensionType |
SampleDimensionType.UNSIGNED_16BITS
Unsigned 16 bits integers.
|
static SampleDimensionType |
SampleDimensionType.UNSIGNED_1BIT
Unsigned 1 bit integers.
|
static SampleDimensionType |
SampleDimensionType.UNSIGNED_2BITS
Unsigned 2 bits integers.
|
static SampleDimensionType |
SampleDimensionType.UNSIGNED_32BITS
Unsigned 32 bits integers.
|
static SampleDimensionType |
SampleDimensionType.UNSIGNED_4BITS
Unsigned 4 bits integers.
|
static SampleDimensionType |
SampleDimensionType.UNSIGNED_8BITS
Unsigned 8 bits integers.
|
Modifier and Type | Method and Description |
---|---|
SampleDimensionType[] |
SampleDimensionType.family()
Returns the list of enumerations of the same kind than this enum.
|
SampleDimensionType |
SampleDimension.getSampleDimensionType()
A code value indicating grid value data type.
|
static SampleDimensionType |
SampleDimensionType.valueOf(String code)
Returns the sample dimension type that matches the given string, or returns a new one if none
match it.
|
static SampleDimensionType[] |
SampleDimensionType.values()
Returns the list of
SampleDimensionType s. |
Copyright © 1996–2019 Geotools. All rights reserved.