public final class GeoFences extends Object
| Constructor and Description |
|---|
GeoFences() |
| Modifier and Type | Method and Description |
|---|---|
static Boolean |
inFence(double latitude,
double longitude,
String geofences)
Static method to be used with jexl
Checks if Point is inside any of the given polygonal geofences based on the winding number algorithm.
|
public static Boolean inFence(double latitude, double longitude, String geofences)
latitude - latitude of the location to verifylongitude - longitude of the location to verifygeofences - GeoJson representation of the fence areaCopyright © 2020 CDAP Licensed under the Apache License, Version 2.0.