RadarPolygonGeometry

class RadarPolygonGeometry(coordinates: Array<RadarCoordinate>, center: RadarCoordinate, radius: Double) : RadarGeofenceGeometry

Represents the geometry of a polygon geofence.

Constructors

RadarPolygonGeometry
Link copied to clipboard
fun RadarPolygonGeometry(coordinates: Array<RadarCoordinate>, center: RadarCoordinate, radius: Double)

Properties

center
Link copied to clipboard
val center: RadarCoordinate
The calculated centroid of the polygon geofence.
coordinates
Link copied to clipboard
val coordinates: Array<RadarCoordinate>
The geometry of the polygon geofence.
radius
Link copied to clipboard
val radius: Double
The calculated radius of the polygon geofence in meters.