-
- All Implemented Interfaces:
public final class GeoLineString extends Geometry
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
GeoLineString.Companion
-
Field Summary
Fields Modifier and Type Field Description private final List<GeoPoint>
points
private final GeometryType
type
private final GeoCircle
enclosingCircle
-
Constructor Summary
Constructors Constructor Description GeoLineString(String json)
GeoLineString(List<GeoPoint> geoPoints)
-
Method Summary
Modifier and Type Method Description final List<GeoPoint>
getPoints()
Points that constitute the geometry as Location objects 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 LineString
getMapboxLineString()
-
-
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
-
getMapboxLineString
final LineString getMapboxLineString()
-
-
-
-