CPInt2

object CPInt2

Companion object with utility and factory methods.

Companion:
class
Source:
CPInt2.scala
class Object
trait Matchable
class Any
CPInt2.type

Value members

Concrete fields

final val NEG_ONE: CPInt2

Equivalent of CPInt2(-1).

Equivalent of CPInt2(-1).

Source:
CPInt2.scala
final val ONE: CPInt2

Equivalent of CPInt2(1).

Equivalent of CPInt2(1).

Source:
CPInt2.scala
final val ZERO: CPInt2

Equivalent of CPInt2(0).

Equivalent of CPInt2(0).

Source:
CPInt2.scala

Givens

Givens

given given_Conversion_CPInt2_Int_Int: Conversion[CPInt2, (Int, Int)]
given given_Conversion_Int_Int_CPInt2: Conversion[(Int, Int), CPInt2]