BoxRegion

data class BoxRegion(corner1: Coordinate2D, corner2: Coordinate2D) : Region2D

Represents a box region on 2D coordinate

Constructors

BoxRegion
Link copied to clipboard
fun BoxRegion(corner1: Coordinate2D, corner2: Coordinate2D)

Functions

copy
Link copied to clipboard
fun copy(corner1: Coordinate2D, corner2: Coordinate2D): BoxRegion
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