Package com.mapsindoors.mapssdk
Class LineStringGeometry
- java.lang.Object
-
- com.mapsindoors.mapssdk.Geometry
-
- com.mapsindoors.mapssdk.LineStringGeometry
-
- All Implemented Interfaces:
MPModelBase
public class LineStringGeometry extends Geometry
MapsIndoors GeoJSON's LineString implementation- Since:
- 3.1.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.mapsindoors.mapssdk.Geometry
Geometry.GeometryType, Geometry.GeometryTypeName
-
-
Field Summary
-
Fields inherited from class com.mapsindoors.mapssdk.Geometry
BBOX_NE_LAT, BBOX_NE_LNG, BBOX_SW_LAT, BBOX_SW_LNG, GEOMETRYCOLLECTION, LAT, LINESTRING, LNG, MULTILINESTRING, MULTIPOINT, MULTIPOLYGON, POINT, POINT_AREA, POLYGON, TYPE_GEOMETRYCOLLECTION, TYPE_LINESTRING, TYPE_MULTILINESTRING, TYPE_MULTIPOINT, TYPE_MULTIPOLYGON, TYPE_POINT, TYPE_POLYGON, Z
-
-
Constructor Summary
Constructors Constructor Description LineStringGeometry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double[]
getBBox()
The values of a "bbox" array are "[west, south, east, north]", not "[minx, miny, maxx, maxy]"double[][]
getCoordinates()
boolean
isInside(com.google.android.gms.maps.model.LatLng latLng)
-
-
-
Method Detail
-
getCoordinates
@NonNull public double[][] getCoordinates()
-
getBBox
@Nullable public double[] getBBox()
The values of a "bbox" array are "[west, south, east, north]", not "[minx, miny, maxx, maxy]"- Returns:
- An optional AABB (axis-aligned bounding box)
- See Also:
- GeoJSON - Bounding Box
-
isInside
public boolean isInside(@NonNull com.google.android.gms.maps.model.LatLng latLng)
-
-