object ArrayTile extends Serializable
An object housing apply methods which produce ArrayTiles.
- Alphabetic
- By Inheritance
- ArrayTile
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
alloc(t: CellType, cols: Int, rows: Int): MutableArrayTile
Allocate a new MutableArrayTile.
Allocate a new MutableArrayTile.
- t
The CellType of the new MutableArrayTile
- cols
The number of columns that the new MutableArrayTile should have
- rows
The number of rows that the new MutableArrayTile should have
- returns
The new MutableArrayTile
-
def
apply(arr: Array[Double], cols: Int, rows: Int): DoubleConstantNoDataArrayTile
Create a new DoubleConstantNoDataArrayTile from an array of Doubles.
Create a new DoubleConstantNoDataArrayTile from an array of Doubles.
- arr
The array of Doubles
- cols
The number of columns in the new tile
- rows
The number of rows in the new tile
- returns
The newly-created tile
-
def
apply(arr: Array[Float], cols: Int, rows: Int): FloatConstantNoDataArrayTile
Create a new FloatConstantNoDataArrayTile from an array of Floats.
Create a new FloatConstantNoDataArrayTile from an array of Floats.
- arr
The array of Floats
- cols
The number of columns in the new tile
- rows
The number of rows in the new tile
- returns
The newly-created tile
-
def
apply(arr: Array[Int], cols: Int, rows: Int): IntConstantNoDataArrayTile
Create a new IntConstantNoDataArrayTile from an array of integers.
Create a new IntConstantNoDataArrayTile from an array of integers.
- arr
The array of integers
- cols
The number of columns in the new tile
- rows
The number of rows in the new tile
- returns
The newly-created tile
-
def
apply(arr: Array[Short], cols: Int, rows: Int): ShortConstantNoDataArrayTile
Create a new ShortConstantNoDataArrayTile from an array of Shorts.
Create a new ShortConstantNoDataArrayTile from an array of Shorts.
- arr
The array of Shorts
- cols
The number of columns in the new tile
- rows
The number of rows in the new tile
- returns
The newly-created tile
-
def
apply(arr: Array[Byte], cols: Int, rows: Int): ByteConstantNoDataArrayTile
Create a new ByteConstantNoDataArrayTile from an array of Bytes.
Create a new ByteConstantNoDataArrayTile from an array of Bytes.
- arr
The array of Bytes
- cols
The number of columns in the new tile
- rows
The number of rows in the new tile
- returns
The newly-created tile
-
def
empty(t: CellType, cols: Int, rows: Int): MutableArrayTile
Create a new, empty MutableArrayTile.
Create a new, empty MutableArrayTile.
- t
The CellType of the new MutableArrayTile
- cols
The number of columns that the new MutableArrayTile should have
- rows
The number of rows that the new MutableArrayTile should have
- returns
The new MutableArrayTile
-
def
fromBytes(bytes: Array[Byte], t: CellType, cols: Int, rows: Int): MutableArrayTile
Create a MutableArrayTile from a byte array.
Create a MutableArrayTile from a byte array.
- bytes
The array of bytes
- t
The CellType of the new MutableArrayTile
- cols
The number of columns that the new MutableArrayTile should have
- rows
The number of rows that the new MutableArrayTile should have
- returns
The new MutableArrayTile