commonMain.GeoPolygon.kt Maven / Gradle / Ivy
package io.fluidsonic.stdlib
public data class GeoPolygon(
val points: List
) {
init {
require(points.size >= 3) { "A polygon must have at least 3 points" }
freeze()
}
}
package io.fluidsonic.stdlib
public data class GeoPolygon(
val points: List
) {
init {
require(points.size >= 3) { "A polygon must have at least 3 points" }
freeze()
}
}