SingleGeometry

@Serializable(with = SingleGeometrySerializer::class)
sealed interface SingleGeometry : Geometry(source)

A Geometry that contains a single point, curve, or surface, i.e. a union type for Point, LineString, and Polygon.

Inheritors

Types

Link copied to clipboard
object Companion

Factory methods for creating and serializing SingleGeometry objects.

Properties

Link copied to clipboard
abstract val bbox: BoundingBox?

An optional BoundingBox used to represent the limits of the object's Geometry.