aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/geofence/GeofenceGeometry.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-11-27 22:58:35 +1300
committerGitHub <noreply@github.com>2016-11-27 22:58:35 +1300
commit58db487ece3ac8644557145a07a75ce4bf63a344 (patch)
tree29f18d871486df89c202e32a82fe143acc3754f7 /src/org/traccar/geofence/GeofenceGeometry.java
parentf1b58491f6dc2a50312efb19f501d2121ed06b08 (diff)
parentf933147c0cba53df96448a64a2ba58dda4da1659 (diff)
downloadtrackermap-server-58db487ece3ac8644557145a07a75ce4bf63a344.tar.gz
trackermap-server-58db487ece3ac8644557145a07a75ce4bf63a344.tar.bz2
trackermap-server-58db487ece3ac8644557145a07a75ce4bf63a344.zip
Merge pull request #2608 from Abyss777/polyline_geofence
Implemented polyline geofence
Diffstat (limited to 'src/org/traccar/geofence/GeofenceGeometry.java')
-rw-r--r--src/org/traccar/geofence/GeofenceGeometry.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/org/traccar/geofence/GeofenceGeometry.java b/src/org/traccar/geofence/GeofenceGeometry.java
index 6b5b0acb7..857ba3414 100644
--- a/src/org/traccar/geofence/GeofenceGeometry.java
+++ b/src/org/traccar/geofence/GeofenceGeometry.java
@@ -25,4 +25,26 @@ public abstract class GeofenceGeometry {
public abstract void fromWkt(String wkt) throws ParseException;
+ public static class Coordinate {
+
+ private double lat;
+ private double lon;
+
+ public double getLat() {
+ return lat;
+ }
+
+ public void setLat(double lat) {
+ this.lat = lat;
+ }
+
+ public double getLon() {
+ return lon;
+ }
+
+ public void setLon(double lon) {
+ this.lon = lon;
+ }
+ }
+
}