MultiPoint
data class MultiPoint @JvmOverloads constructor(val coordinates: List<Position>, val bbox: BoundingBox? = null, val foreignMembers: JsonObject = EmptyForeignMembers) : MultiGeometry, PointGeometry, Collection<Point> (source)
A MultiPoint geometry represents multiple points in coordinate space.
See RFC 7946 Section 3.1.3 for the full specification.
See also
Constructors
Link copied to clipboard
constructor(coordinates: List<Position>, bbox: BoundingBox? = null, foreignMembers: JsonObject = EmptyForeignMembers)
constructor(vararg coordinates: Position, bbox: BoundingBox? = null, foreignMembers: JsonObject = EmptyForeignMembers)
Create a MultiPoint by a number of Position objects.
constructor(vararg points: Point, bbox: BoundingBox? = null, foreignMembers: JsonObject = EmptyForeignMembers)
Create a MultiPoint by a number of Point objects.
constructor(coordinates: Array<DoubleArray>, bbox: BoundingBox? = null, foreignMembers: JsonObject = EmptyForeignMembers)
Create a MultiPoint by an array of DoubleArray objects that each represent a Position.
Types
Link copied to clipboard
object Companion
Factory methods for creating and serializing MultiPoint objects.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Decodes GeoJsonObject.foreignMembers as T.
Link copied to clipboard
Returns the foreign member with the given key, or null if it is not present.