Bytes per sample (bits divided by 8).
Answer true if the present data type contains the other cell type, otherwise false.
Answer true if the present data type contains the other cell type, otherwise false.
The other cell type
True for containment, false otherwise
Determine if two CellType instances have equal DataType component
Compute the intersection of the present data type and the given cell type.
Compute the intersection of the present data type and the given cell type.
The other cell type
The intersection of this data type and the other cell type
The no data value as represented in the JVM in the underlying cell.
The no data value as represented in the JVM in the underlying cell. If unsigned types are involved then
this value may be an overflow representation, and widenedNoData
should be used.
Return the number of bytes that would be consumed by the given number of items of the present type.
Return the number of bytes that would be consumed by the given number of items of the present type.
The number of items
The number of bytes
Return the string representation of this data type.
Return the string representation of this data type.
The string representation
Union only checks to see that the correct bitsize and int vs floating point values are set.
Union only checks to see that the correct bitsize and int vs floating point values are set. We can be sure that its operations are safe because all data is converted up to int or double where the internal GT "constant" nodata values are used for *all* tile types. So, for instance, if a UserDefinedNoData tile is converted to a different UserDefinedNoData tile, the user defined NoData value will be converted to Int.MinValue/Double.NaN during operations and then converted once more from that value down to the second UserDefinedNoData value.
The other cell type
The union of this data type and the other cell type
Creates a CellType with the default ConstantNoData
value.
Creates a CellType with the default ConstantNoData
value. If instance is already one of the default NoData
values then a reference to self is returned.
CellType with same bit width as this but with the default NoData
value.
Creates CellType with requested NoData semantics.
Creates CellType with requested NoData semantics. In case where DataType is not Double noDataValue will be coerced to that type. This may lead to loss of precision but will leave NoData consistent with tile cells.
Optional NoData Value
DataType unchanged but with NoDataHandling implied by the value of the parameter