MultiLineString
data class MultiLineString @JvmOverloads constructor(val coordinates: List<List<Position>>, val bbox: BoundingBox? = null, val foreignMembers: JsonObject = EmptyForeignMembers) : MultiGeometry, LineStringGeometry, Collection<LineString> (source)
A MultiLineString geometry represents multiple curves in coordinate space.
See RFC 7946 Section 3.1.5 for the full specification.
See also
Throws
if any of the Position lists is not a valid LineString
Constructors
Link copied to clipboard
constructor(coordinates: List<List<Position>>, bbox: BoundingBox? = null, foreignMembers: JsonObject = EmptyForeignMembers)
constructor(vararg coordinates: List<Position>, bbox: BoundingBox? = null, foreignMembers: JsonObject = EmptyForeignMembers)
Create a MultiLineString by a number of lists of Position objects.
constructor(vararg lineStrings: LineString, bbox: BoundingBox? = null, foreignMembers: JsonObject = EmptyForeignMembers)
Create a MultiLineString by a number of LineString objects.
constructor(coordinates: Array<Array<DoubleArray>>, bbox: BoundingBox? = null, foreignMembers: JsonObject = EmptyForeignMembers)
Create a MultiLineString by an array (= LineString objects) of arrays (= Position objects) where each Position is represented by a DoubleArray.
Types
Link copied to clipboard
object Companion
Factory methods for creating and serializing MultiLineString objects.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Decodes GeoJsonObject.foreignMembers as T.
Link copied to clipboard
Get the line string at the specified index.
Link copied to clipboard
Returns the foreign member with the given key, or null if it is not present.
Link copied to clipboard