Package regions

Types

BoxRegion
Link copied to clipboard
data class BoxRegion(corner1: Coordinate2D, corner2: Coordinate2D) : Region2D
Represents a box region on 2D coordinate
BoxRegion3D
Link copied to clipboard
data class BoxRegion3D(corner1: Coordinate3D, corner2: Coordinate3D) : Region3D
Represents a box region on 2D coordinate
ColumnRegion
Link copied to clipboard
data class ColumnRegion(col: Int) : Region2D
Represents a region of a column on 2D coordinate
CompositeRegion
Link copied to clipboard
data class CompositeRegion(regions: List<Region2D>) : Region2D
Represents a region made up of a list of regions
CoordinateRegion
Link copied to clipboard
data class CoordinateRegion(x: Int, y: Int) : Region2D
Represents a region of a coordinate on 2D coordinate
Region
Link copied to clipboard
interface Region<C : Coordinate>
Represents a region on the board
Region2D
Link copied to clipboard
interface Region2D : Region<Coordinate2D>
Implementation of the Region interface for a 2d square board.
Region3D
Link copied to clipboard
interface Region3D : Region<Coordinate3D>
Implementation of the Region interface for a 2d square board.
RowRegion
Link copied to clipboard
data class RowRegion(row: Int) : Region2D
Represents a region of a row on 2D coordinate