-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
GeoPoint.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Double
lat
private final Double
lon
private final GeometryType
type
private final GeoCircle
enclosingCircle
-
Method Summary
Modifier and Type Method Description final Double
getLat()
final Double
getLon()
final GeometryType
getType()
Returns the actual type of the geofence, e.g. final GeoCircle
getEnclosingCircle()
Returns the enclosing circle in gps space of the geofence final Double
distanceTo(GeoPoint point)
Return the distance to point -
-
Method Detail
-
getType
final GeometryType getType()
Returns the actual type of the geofence, e.g. GeometryPolygon. See com.pointrlabs.core.geometry.GeometryType
-
getEnclosingCircle
final GeoCircle getEnclosingCircle()
Returns the enclosing circle in gps space of the geofence
-
distanceTo
final Double distanceTo(GeoPoint point)
Return the distance to point
- Parameters:
point
- : point to get distance from
-
-
-
-