commonMain.com.bselzer.ktx.geometry.dimension.bi.polygon.Polygon.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geometry Show documentation
Show all versions of geometry Show documentation
Two and three dimensional geometrical objects.
package com.bselzer.ktx.geometry.dimension.bi.polygon
import com.bselzer.ktx.geometry.dimension.bi.position.Point2D
abstract class Polygon(
/**
* The points forming the shape.
*/
val points: List
) {
override fun toString(): String = points.joinToString()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy