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