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