-
public final class RadarPolygonGeometry extends RadarGeofenceGeometry
Represents the geometry of a polygon geofence.
-
-
Field Summary
Fields Modifier and Type Field Description private final Array<RadarCoordinate>coordinatesprivate final RadarCoordinatecenterprivate final Doubleradius
-
Constructor Summary
Constructors Constructor Description RadarPolygonGeometry(Array<RadarCoordinate> coordinates, RadarCoordinate center, Double radius)
-
Method Summary
Modifier and Type Method Description final Array<RadarCoordinate>getCoordinates()The geometry of the polygon geofence. final RadarCoordinategetCenter()The calculated centroid of the polygon geofence. final DoublegetRadius()The calculated radius of the polygon geofence in meters. -
-
Constructor Detail
-
RadarPolygonGeometry
RadarPolygonGeometry(Array<RadarCoordinate> coordinates, RadarCoordinate center, Double radius)
-
-
Method Detail
-
getCoordinates
final Array<RadarCoordinate> getCoordinates()
The geometry of the polygon geofence. A closed ring of coordinates.
-
getCenter
final RadarCoordinate getCenter()
The calculated centroid of the polygon geofence.
-
-
-
-