diff options
author | Anton Tananaev <anton@traccar.org> | 2022-06-16 18:48:08 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-06-16 18:48:08 -0700 |
commit | 15c4b6b21a31c63bc0f7e624e26d032d531c459d (patch) | |
tree | 524ca1dd9aca6ef0ea8db2910a16a3e227e8c1fb /src/main/java/org/traccar/geofence/GeofenceGeometry.java | |
parent | ee9abd94265eb704b5f5dd2262f1a3460bbe2a8f (diff) | |
download | trackermap-server-15c4b6b21a31c63bc0f7e624e26d032d531c459d.tar.gz trackermap-server-15c4b6b21a31c63bc0f7e624e26d032d531c459d.tar.bz2 trackermap-server-15c4b6b21a31c63bc0f7e624e26d032d531c459d.zip |
Refactor geofence classes
Diffstat (limited to 'src/main/java/org/traccar/geofence/GeofenceGeometry.java')
-rw-r--r-- | src/main/java/org/traccar/geofence/GeofenceGeometry.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/geofence/GeofenceGeometry.java b/src/main/java/org/traccar/geofence/GeofenceGeometry.java index 2c45c22af..fadabab1c 100644 --- a/src/main/java/org/traccar/geofence/GeofenceGeometry.java +++ b/src/main/java/org/traccar/geofence/GeofenceGeometry.java @@ -15,11 +15,14 @@ */ package org.traccar.geofence; +import org.traccar.config.Config; +import org.traccar.model.Geofence; + import java.text.ParseException; public abstract class GeofenceGeometry { - public abstract boolean containsPoint(double latitude, double longitude); + public abstract boolean containsPoint(Config config, Geofence geofence, double latitude, double longitude); public abstract double calculateArea(); |