Point

class Point(lat: Double, lon: Double) : LatLonGeometry

Represents a point on the earth's surface. You can construct the point directly with double coordinates.

NOTES:

  1. latitude/longitude values must be in decimal degrees.

  2. For more advanced GeoSpatial indexing and query operations see the spatial-extras module

Constructors

Link copied to clipboard
constructor(lat: Double, lon: Double)

Properties

Link copied to clipboard
val lat: Double

latitude coordinate

Link copied to clipboard
val lon: Double

longitude coordinate

Functions

Link copied to clipboard
open operator override fun equals(o: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String