Package-level declarations

Properties

Link copied to clipboard
val BoundingBox.center: Point

Functions

Link copied to clipboard
fun Point.bearing(other: Point): Double
Link copied to clipboard
fun Point.bounds(span: PointSpan): BoundingBox
Link copied to clipboard
fun Point.destination(@FloatRange(from = 0.0) distance: Double, @FloatRange(from = -180.0, to = 180.0) bearing: Double, units: String = TurfConstants.UNIT_METRES): Point
Link copied to clipboard
fun Point.distanceTo(other: Point, units: String = TurfConstants.UNIT_METRES): Double
Link copied to clipboard
fun Location(lat: Double, lng: Double, alt: Double, provider: String = "Created manually"): Location
Link copied to clipboard
operator fun Point.minus(span: PointSpan): Point
Link copied to clipboard
operator fun Point.plus(span: PointSpan): Point
Link copied to clipboard
fun Point.toLocation(): Location
Link copied to clipboard
fun Location.toPoint(): Point