Package com.pointrlabs.core.geofence
Class Geofence
-
-
Field Summary
Fields Modifier and Type Field Description private final String
name
private final Boolean
isInside
private final GeofenceType
type
private final GeoCircle
enclosingCircle
private final String
id
private final String
eid
private final String
typeCode
private final Boolean
isCar
private final Geometry
geometry
private final BoundingBox
boundingBox
private final Map<String, Object>
attributes
private final String
title
private final Map<String, Object>
extraData
private final Location
location
-
Method Summary
Modifier and Type Method Description final String
getName()
Get the name of the rule final Boolean
isInside()
Get if geofence isInside final GeofenceType
getType()
Get the type of the geofence , LEVEL or GLOBAL final GeoCircle
getEnclosingCircle()
The enclosing circle of this Geofence. final Boolean
contains(GeoPoint point)
-
Methods inherited from class com.pointrlabs.core.geojson.Feature
equals, getAttribute, getAttributes, getBoundingBox, getEid, getExtraData, getGeometry, getId, getTitle, getTypeCode, hashCode, isCar, toJson, toString
-
Methods inherited from class com.pointrlabs.core.positioning.model.LocationAware
getLocation
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getType
final GeofenceType getType()
Get the type of the geofence , LEVEL or GLOBAL
- Returns:
the geofenceType
-
getEnclosingCircle
final GeoCircle getEnclosingCircle()
The enclosing circle of this Geofence. With Latitude, Longitude of the center point, and the Radius
-
-
-
-