Point
data class Point @JvmOverloads constructor(val coordinates: Position, val bbox: BoundingBox? = null, val foreignMembers: JsonObject = EmptyForeignMembers) : SingleGeometry, PointGeometry(source)
A Point geometry represents a single Position in coordinate space.
See RFC 7946 Section 3.1.2 for the full specification.
See also
Constructors
Link copied to clipboard
constructor(coordinates: Position, bbox: BoundingBox? = null, foreignMembers: JsonObject = EmptyForeignMembers)
constructor(longitude: Double, latitude: Double, altitude: Double? = null, bbox: BoundingBox? = null, foreignMembers: JsonObject = EmptyForeignMembers)
Create a Point from individual coordinate components.
Types
Properties
Link copied to clipboard
The BoundingBox of this Point.
Link copied to clipboard
Link copied to clipboard
Members not defined by RFC 7946.
Functions
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.
Link copied to clipboard
Converts this Point to a geo URI of the format geo:lat,lon or geo:lat,lon,alt as defined in RFC 7946 Section 9.