object UShortArrayTile extends Serializable
The companion object associated with the UShortArrayTile type.
- Alphabetic
- By Inheritance
- UShortArrayTile
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
apply(arr: Array[Short], cols: Int, rows: Int, noDataValue: Short): UShortArrayTile
Create a new UShortArrayTile from an array of integers, a number of columns, and a number of rows.
Create a new UShortArrayTile from an array of integers, a number of columns, and a number of rows.
- arr
An array of integers
- cols
The number of columns
- rows
The number of rows
- noDataValue
NODATA value
- returns
A new UShortArrayTile
-
def
apply(arr: Array[Short], cols: Int, rows: Int, noDataValue: Option[Short]): UShortArrayTile
Create a new UShortArrayTile from an array of integers, a number of columns, and a number of rows.
Create a new UShortArrayTile from an array of integers, a number of columns, and a number of rows.
- arr
An array of integers
- cols
The number of columns
- rows
The number of rows
- noDataValue
Optional NODATA value
- returns
A new UShortArrayTile
-
def
apply(arr: Array[Short], cols: Int, rows: Int, cellType: UShortCells with NoDataHandling): UShortArrayTile
Create a new UShortArrayTile from an array of integers, a number of columns, and a number of rows.
Create a new UShortArrayTile from an array of integers, a number of columns, and a number of rows.
- arr
An array of integers
- cols
The number of columns
- rows
The number of rows
- cellType
The type from which to take the NODATA value
- returns
A new UShortArrayTile
-
def
apply(arr: Array[Short], cols: Int, rows: Int): UShortArrayTile
Create a new UShortArrayTile from an array of integers, a number of columns, and a number of rows.
Create a new UShortArrayTile from an array of integers, a number of columns, and a number of rows.
- arr
An array of integer
- cols
The number of columns
- rows
The number of rows
- returns
A new UShortArrayTile
-
def
empty(cols: Int, rows: Int, cellType: UShortCells with NoDataHandling): UShortArrayTile
Produce an empty UShortArrayTile of the given dimensions.
Produce an empty UShortArrayTile of the given dimensions. The NODATA type for the tile is derived from the given cell type.
- cols
The number of columns
- rows
The number of rows
- cellType
The cell type from which to derive the NODATA
- returns
The new UShortArrayTile
-
def
empty(cols: Int, rows: Int): UShortArrayTile
Produce an empty UShortArrayTile of the given dimensions.
Produce an empty UShortArrayTile of the given dimensions.
- cols
The number of columns
- rows
The number of rows
- returns
The new UShortArrayTile
-
def
fill(v: Short, cols: Int, rows: Int, cellType: UShortCells with NoDataHandling): UShortArrayTile
Produce a new UShortArrayTile and fill it with the given value.
Produce a new UShortArrayTile and fill it with the given value. The NODATA value for the tile is inherited from the given cell type.
- v
the values to fill into the new tile
- cols
The number of columns
- rows
The number of rows
- cellType
The cell type from which to derive the NODATA
- returns
The new UShortArrayTile
-
def
fill(v: Short, cols: Int, rows: Int): UShortArrayTile
Produce a new UShortArrayTile and fill it with the given value.
Produce a new UShortArrayTile and fill it with the given value.
- v
the values to fill into the new tile
- cols
The number of columns
- rows
The number of rows
- returns
The new UShortArrayTile
-
def
fromBytes(bytes: Array[Byte], cols: Int, rows: Int, cellType: UShortCells with NoDataHandling): UShortArrayTile
Produce a new UShortArrayTile from an array of bytes.
Produce a new UShortArrayTile from an array of bytes. The NODATA value for the tile is inherited from the given cell type.
- bytes
the data to fill into the new tile
- cols
The number of columns
- rows
The number of rows
- cellType
The cell type from which to derive the NODATA
- returns
The new UShortArrayTile
-
def
fromBytes(bytes: Array[Byte], cols: Int, rows: Int): UShortArrayTile
Produce a new UShortArrayTile from an array of bytes.
Produce a new UShortArrayTile from an array of bytes.
- bytes
the data to fill into the new tile
- cols
The number of columns
- rows
The number of rows
- returns
The new UShortArrayTile
-
def
ofDim(cols: Int, rows: Int, cellType: UShortCells with NoDataHandling): UShortArrayTile
Produce a UShortArrayTile of the specified dimensions.
Produce a UShortArrayTile of the specified dimensions. The NODATA value for the tile is inherited from the given cell type.
- cols
The number of columns
- rows
The number of rows
- cellType
The cell type from which to derive the NODATA
- returns
The new UShortArrayTile
-
def
ofDim(cols: Int, rows: Int): UShortArrayTile
Produce a UShortArrayTile of the specified dimensions.
Produce a UShortArrayTile of the specified dimensions.
- cols
The number of columns
- rows
The number of rows
- returns
The new UShortArrayTile