Geofence

data class Geofence(val circle: GeofenceCircle?, val box: GeofenceBox?)(source)

A waypoint's geofence region: a circle and/or a box. A point is inside if it is in EITHER shape (OR semantics) — both may be set, either may be null.

Constructors

Link copied to clipboard
constructor(circle: GeofenceCircle?, box: GeofenceBox?)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun contains(lat: Double, lon: Double): Boolean