CompositeRegion

data class CompositeRegion(regions: List<Region2D>) : Region2D

Represents a region made up of a list of regions

Constructors

CompositeRegion
Link copied to clipboard
fun CompositeRegion(regions: List<Region2D>)

Functions

component1
Link copied to clipboard
operator fun component1(): List<Region2D>
copy
Link copied to clipboard
fun copy(regions: List<Region2D>): CompositeRegion
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

regions
Link copied to clipboard
val regions: List<Region2D>
a list of regions