Trait/Object

geotrellis.raster

ShortCells

Related Docs: object ShortCells | package raster

Permalink

sealed trait ShortCells extends DataType

The ShortCells type, derived from DataType

Self Type
ShortCells with CellType
Linear Supertypes
DataType, Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ShortCells
  2. DataType
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. 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
  16. val isFloatingPoint: Boolean

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

    Permalink
    Definition Classes
    Any
  18. def name: String

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

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

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

    Permalink
    Definition Classes
    AnyRef
  22. 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
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. 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
  25. 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
  26. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  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 DataType

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped