LineStringBuilder

Builder for constructing LineString objects using a DSL.

See also

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

An optional BoundingBox for this LineString.

Functions

Link copied to clipboard
fun add(point: Point)

Adds a Point to this LineString.

fun add(position: Position)
fun add(longitude: Double, latitude: Double, altitude: Double? = null)

Adds a Position to this LineString.

Link copied to clipboard
fun LineStringBuilder.addPoint(coordinates: Position, bbox: BoundingBox? = null)
Link copied to clipboard

Builds the LineString from the configured values.