MultiPoint

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


constructor(vararg coordinates: Position, bbox: BoundingBox? = null, foreignMembers: JsonObject = EmptyForeignMembers)(source)

Create a MultiPoint by a number of Position objects.

Parameters

coordinates

The Position objects that make up this multi-point.

bbox

The BoundingBox of this geometry.

foreignMembers

Members not defined by RFC 7946.


constructor(vararg points: Point, bbox: BoundingBox? = null, foreignMembers: JsonObject = EmptyForeignMembers)(source)

Create a MultiPoint by a number of Point objects.

Parameters

points

The Point objects that make up this multi-point.

bbox

The BoundingBox of this geometry.

foreignMembers

Members not defined by RFC 7946.


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

Create a MultiPoint by an array of DoubleArray objects that each represent a Position.

Parameters

coordinates

The array of double arrays representing Position objects.

bbox

The BoundingBox of this geometry.

foreignMembers

Members not defined by RFC 7946.

Throws

if any array of doubles does not represent a valid Position