
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-jvm Show documentation
Show all versions of geometry-jvm Show documentation
Two and three dimensional geometrical objects.
The newest version!
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