diff options
author | Abyss777 <abyss@fox5.ru> | 2016-11-26 19:33:54 +0700 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-11-26 19:33:54 +0700 |
commit | b09d0e98541edc7122d992e85547741ffd57f72a (patch) | |
tree | 9b5011d5aefbcc32c378336ce103106e0a7e40d5 /src/org/traccar/geofence/GeofencePolygon.java | |
parent | 6d022a7cbdacc747dd8517a8c82c3238d63637ac (diff) | |
download | trackermap-server-b09d0e98541edc7122d992e85547741ffd57f72a.tar.gz trackermap-server-b09d0e98541edc7122d992e85547741ffd57f72a.tar.bz2 trackermap-server-b09d0e98541edc7122d992e85547741ffd57f72a.zip |
Implement polyline geofence
Diffstat (limited to 'src/org/traccar/geofence/GeofencePolygon.java')
-rw-r--r-- | src/org/traccar/geofence/GeofencePolygon.java | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/org/traccar/geofence/GeofencePolygon.java b/src/org/traccar/geofence/GeofencePolygon.java index 03638d6c9..48326dc10 100644 --- a/src/org/traccar/geofence/GeofencePolygon.java +++ b/src/org/traccar/geofence/GeofencePolygon.java @@ -27,35 +27,6 @@ public class GeofencePolygon extends GeofenceGeometry { fromWkt(wkt); } - private static class Coordinate { - - public static final double DEGREE360 = 360; - - private double lat; - private double lon; - - public double getLat() { - return lat; - } - - public void setLat(double lat) { - this.lat = lat; - } - - public double getLon() { - return lon; - } - - // Need not to confuse algorithm by the abrupt reset of longitude - public double getLon360() { - return lon + DEGREE360; - } - - public void setLon(double lon) { - this.lon = lon; - } - } - private ArrayList<Coordinate> coordinates; private double[] constant; |