LineString

@Serializable(with = GeometrySerializer::class)
class LineString @JvmOverloads constructor(val coordinates: List<Position>, val bbox: BoundingBox? = null) : Geometry

Constructors

Link copied to clipboard
constructor(vararg coordinates: Position, bbox: BoundingBox? = null)
constructor(coordinates: Array<DoubleArray>, bbox: BoundingBox? = null)
constructor(coordinates: List<Position>, bbox: BoundingBox? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val bbox: BoundingBox? = null

An optional bounding box used to represent the limits of the object's geometry.

Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun json(): String

Gets a JSON representation of this object.

Link copied to clipboard
open override fun toString(): String