All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.jawg.geojson.LineString.kt Maven / Gradle / Ivy

There is a newer version: 1.2.3
Show newest version
package io.jawg.geojson

data class LineString(
    override val coordinates: LineStringCoordinates,
    override val bbox: BBox? = null
) : Geometry("LineString") {

  init {
    LineStringValidator.validate(coordinates)
  }

  override fun getAllCoordinates(): List = coordinates.orEmpty()

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy