object IntArrayTile extends Serializable
The companion object for the IntArray type.
- Alphabetic
- By Inheritance
- IntArrayTile
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
apply(arr: Array[Int], cols: Int, rows: Int, noDataValue: Int): IntArrayTile
Create a new IntArrayTile from an array of integers, a number of columns, and a number of rows.
Create a new IntArrayTile 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 IntArrayTile
-
def
apply(arr: Array[Int], cols: Int, rows: Int, noDataValue: Option[Int]): IntArrayTile
Create a new IntArrayTile from an array of integers, a number of columns, and a number of rows.
Create a new IntArrayTile 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 IntArrayTile
-
def
apply(arr: Array[Int], cols: Int, rows: Int, cellType: IntCells with NoDataHandling): IntArrayTile
Create a new IntArrayTile from an array of integers, a number of columns, and a number of rows.
Create a new IntArrayTile 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 IntArrayTile
-
def
apply(arr: Array[Int], cols: Int, rows: Int): IntArrayTile
Create a new IntArrayTile from an array of integers, a number of columns, and a number of rows.
Create a new IntArrayTile 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 IntArrayTile
-
def
empty(cols: Int, rows: Int, cellType: IntCells with NoDataHandling): IntArrayTile
Produce an empty, new IntArrayTile.
Produce an empty, new IntArrayTile. 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 IntArrayTile
-
def
empty(cols: Int, rows: Int): IntArrayTile
Produce an empty, new IntArrayTile.
Produce an empty, new IntArrayTile.
- cols
The number of columns
- rows
The number of rows
- returns
The new IntArrayTile
-
def
fill(v: Int, cols: Int, rows: Int, cellType: IntCells with NoDataHandling): IntArrayTile
Produce a new IntArrayTile and fill it with the given value.
Produce a new IntArrayTile 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 IntArrayTile
-
def
fill(v: Int, cols: Int, rows: Int): IntArrayTile
Produce a new IntArrayTile and fill it with the given value.
Produce a new IntArrayTile 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 IntArrayTile
-
def
fromBytes(bytes: Array[Byte], cols: Int, rows: Int, cellType: IntCells with NoDataHandling): IntArrayTile
Produce a new IntArrayTile from an array of bytes.
Produce a new IntArrayTile 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 IntArrayTile
-
def
fromBytes(bytes: Array[Byte], cols: Int, rows: Int): IntArrayTile
Produce a new IntArrayTile from an array of bytes.
Produce a new IntArrayTile 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 IntArrayTile
-
def
ofDim(cols: Int, rows: Int, cellType: IntCells with NoDataHandling): IntArrayTile
Produce a IntArrayTile of the specified dimensions.
Produce a IntArrayTile 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 IntArrayTile
-
def
ofDim(cols: Int, rows: Int): IntArrayTile
Produce a IntArrayTile of the specified dimensions.
Produce a IntArrayTile of the specified dimensions.
- cols
The number of columns
- rows
The number of rows
- returns
The new IntArrayTile