RadarPolygonGeometry

Objective-C

@interface RadarPolygonGeometry : RadarGeofenceGeometry

Swift

class RadarPolygonGeometry : RadarGeofenceGeometry

Represents the geometry of polygon geofence.

  • The geometry of the polygon geofence. A closed ring of coordinates.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSArray<RadarCoordinate *> *_coordinates;

    Swift

    var _coordinates: [RadarCoordinate]? { get }
  • The calculated centroid of the polygon geofence.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nonnull) RadarCoordinate *center;

    Swift

    var center: RadarCoordinate { get }
  • The calculated radius of the polygon geofence in meters.

    Declaration

    Objective-C

    @property (nonatomic, readonly) double radius;

    Swift

    var radius: Double { get }