ColumnRegion

data class ColumnRegion(col: Int) : Region2D

Represents a region of a column on 2D coordinate

Constructors

ColumnRegion
Link copied to clipboard
fun ColumnRegion(col: Int)

Functions

component1
Link copied to clipboard
operator fun component1(): Int
copy
Link copied to clipboard
fun copy(col: Int): ColumnRegion
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
isInRegion
Link copied to clipboard
open override fun isInRegion(coordinate: Coordinate2D): Boolean
Returns if the coordinate is within the region specified
toString
Link copied to clipboard
open override fun toString(): String

Properties

col
Link copied to clipboard
val col: Int
the column number (x coordinate)