Class

geotrellis.raster

ShortUserDefinedNoDataCellType

Related Doc: package raster

Permalink

case class ShortUserDefinedNoDataCellType(noDataValue: Short) extends DataType with ShortCells with UserDefinedNoData[Short] with Product with Serializable

Linear Supertypes
Product, Equals, UserDefinedNoData[Short], NoDataHandling, ShortCells, DataType, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ShortUserDefinedNoDataCellType
  2. Product
  3. Equals
  4. UserDefinedNoData
  5. NoDataHandling
  6. ShortCells
  7. DataType
  8. Serializable
  9. Serializable
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ShortUserDefinedNoDataCellType(noDataValue: Short)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val bits: Int

    Permalink
    Definition Classes
    ShortCellsDataType
  6. def bytes: Int

    Permalink

    Bytes per sample (bits divided by 8).

    Bytes per sample (bits divided by 8).

    returns

    Bytes per sample.

    Definition Classes
    DataType
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def contains(other: CellType): Boolean

    Permalink

    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.

    other

    The other cell type

    returns

    True for containment, false otherwise

    Definition Classes
    DataType
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equalDataType(other: DataType): Boolean

    Permalink

    Determine if two CellType instances have equal DataType component

    Determine if two CellType instances have equal DataType component

    Definition Classes
    ShortCellsDataType
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def intersect(other: CellType): CellType

    Permalink

    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.

    other

    The other cell type

    returns

    The intersection of this data type and the other cell type

    Definition Classes
    DataType
  14. val isFloatingPoint: Boolean

    Permalink
    Definition Classes
    ShortCellsDataType
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def name: String

    Permalink
    Definition Classes
    DataType
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. val noDataValue: Short

    Permalink

    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.

    Definition Classes
    ShortUserDefinedNoDataCellTypeUserDefinedNoData
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. def numBytes(size: Int): Int

    Permalink

    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.

    size

    The number of items

    returns

    The number of bytes

    Definition Classes
    DataType
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink

    Return the string representation of this data type.

    Return the string representation of this data type.

    returns

    The string representation

    Definition Classes
    DataType → AnyRef → Any
  24. def union(other: CellType): CellType

    Permalink

    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.

    other

    The other cell type

    returns

    The union of this data type and the other cell type

    Definition Classes
    DataType
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. def widenedNoData(implicit ev: Numeric[Short]): WidenedNoData

    Permalink
    Definition Classes
    UserDefinedNoData
  29. def withDefaultNoData(): ShortCells with NoDataHandling

    Permalink

    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.

    returns

    CellType with same bit width as this but with the default NoData value.

    Definition Classes
    ShortCellsDataType
  30. def withNoData(noDataValue: Option[Double]): ShortCells with NoDataHandling

    Permalink

    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.

    noDataValue

    Optional NoData Value

    returns

    DataType unchanged but with NoDataHandling implied by the value of the parameter

    Definition Classes
    ShortCellsDataType

Inherited from Product

Inherited from Equals

Inherited from UserDefinedNoData[Short]

Inherited from NoDataHandling

Inherited from ShortCells

Inherited from DataType

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped