public final class GeoFences extends Object
| Modifier and Type | Method and Description |
|---|---|
static Boolean |
inFence(double latitude,
double longitude,
String geofences)
Deprecated.
|
static Boolean |
InFence(Double latitude,
Double longitude,
String geofences)
Static method to be used with jexl
Checks if the coordinate is inside any of the given polygonal geofences based on the winding number algorithm.
|
@Deprecated public static Boolean inFence(double latitude, double longitude, String geofences)
InFence(java.lang.Double, java.lang.Double, java.lang.String) insteadlatitude - latitude of the location to verifylongitude - longitude of the location to verifygeofences - GeoJson representation of the fence areapublic 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 © 2024 CDAP Licensed under the Apache License, Version 2.0.