object CellSize extends Serializable
The companion object for the CellSize type.
- Alphabetic
- By Inheritance
- CellSize
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
apply(extent: Extent, dims: Dimensions[Int]): CellSize
Create a new CellSize from an extent, a number of columns, and a number of rows.
Create a new CellSize from an extent, a number of columns, and a number of rows.
- extent
The extent, which provides an overall height and width
- dims
The numbers of columns and rows as a tuple
- returns
The CellSize
-
def
apply(extent: Extent, cols: Int, rows: Int): CellSize
Create a new CellSize from an extent, a number of columns, and a number of rows.
Create a new CellSize from an extent, a number of columns, and a number of rows.
- extent
The extent, which provides an overall height and width
- cols
The number of columns
- rows
The number of rows
- returns
The CellSize
- implicit val cellsizeOrdering: Ordering[CellSize]
- implicit val codecForCellSize: AsObject[CellSize]
-
def
fromString(s: String): CellSize
Create a new CellSize from a string containing the width and height separated by a comma.
Create a new CellSize from a string containing the width and height separated by a comma.
- s
The string
- returns
The CellSize