MultiLineString

constructor(coordinates: List<List<Position>>, bbox: BoundingBox? = null)(source)


constructor(vararg coordinates: List<Position>, bbox: BoundingBox? = null)(source)

Create a MultiLineString by a number of lists of Position objects.

Parameters

coordinates

The lists of Position objects that make up the LineString objects.

bbox

The BoundingBox of this geometry.

Throws

if any of the Position lists is not a valid LineString


constructor(vararg lineStrings: LineString, bbox: BoundingBox? = null)(source)

Create a MultiLineString by a number of LineString objects.

Parameters

lineStrings

The LineString objects that make up this multi-line string.

bbox

The BoundingBox of this geometry.

Throws

if any of the LineString objects contains fewer than 2 Position objects.


constructor(coordinates: Array<Array<DoubleArray>>, bbox: BoundingBox? = null)(source)

Create a MultiLineString by an array (= LineString objects) of arrays (= Position objects) where each Position is represented by a DoubleArray.

Parameters

coordinates

The array of arrays of double arrays representing LineString objects.

bbox

The BoundingBox of this geometry.

Throws

if any of the Position lists is not a valid LineString or any of the arrays of doubles does not represent a valid Position.