HGridRect

ostrat.prid.phex.HGridRect
See theHGridRect companion class
object HGridRect

Companion object for the HGridRect class. Contains factory apply method and Show instance.

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
HGridRect.type

Members list

Value members

Concrete methods

def apply(numRows: Int, numCols: Int): HGridRect

Factory apply method to create a regular hex grid of a given number of rows anc columns.

Factory apply method to create a regular hex grid of a given number of rows anc columns.

Attributes

def minMax(rTileMin: Int, rTileMax: Int, cTileMin: Int, cTileMax: Int): HGridRect

Corrects the X and Y minimum and maximum values.

Corrects the X and Y minimum and maximum values.

Attributes

Implicits

Implicits

implicit val showEv: ShowTellInt4[HGridRect]

Implicit instance of Show for HGridRect.

Implicit instance of Show for HGridRect.

Attributes

implicit val unshowEv: UnshowInt4[HGridRect]

Implicit instance of Unshow for HGridRect.

Implicit instance of Unshow for HGridRect.

Attributes