CoordinateRegion

data class CoordinateRegion(x: Int, y: Int) : Region2D

Represents a region of a coordinate on 2D coordinate

Constructors

CoordinateRegion
Link copied to clipboard
fun CoordinateRegion(x: Int, y: Int)

Functions

copy
Link copied to clipboard
fun copy(x: Int, y: Int): CoordinateRegion
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