RowRegion

data class RowRegion(row: Int) : Region2D

Represents a region of a row on 2D coordinate

Constructors

RowRegion
Link copied to clipboard
fun RowRegion(row: Int)

Functions

component1
Link copied to clipboard
operator fun component1(): Int
copy
Link copied to clipboard
fun copy(row: Int): RowRegion
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

row
Link copied to clipboard
val row: Int
the row number (y coordinate)