@Test public void testGetGeometryObject() { LineString lineString = createSimpleLineString(); assertNotNull(lineString); assertNotNull(lineString.getGeometryObject()); assertEquals(lineString.getGeometryObject().size(), 6); assertEquals(lineString.getGeometryObject().get(0).latitude, 90.0, 0); assertEquals(lineString.getGeometryObject().get(1).latitude, 90.0, 0); assertEquals(lineString.getGeometryObject().get(2).latitude, 90.0, 0); assertEquals(lineString.getGeometryObject().get(3).longitude, 53.0, 0); assertEquals(lineString.getGeometryObject().get(4).longitude, 54.0, 0); lineString = createLoopedLineString(); assertNotNull(lineString); assertNotNull(lineString.getGeometryObject()); assertEquals(lineString.getGeometryObject().size(), 4); assertEquals(lineString.getGeometryObject().get(0).latitude, 90.0, 0); assertEquals(lineString.getGeometryObject().get(1).latitude, 89.0, 0); assertEquals(lineString.getGeometryObject().get(2).longitude, 62.0, 0); assertEquals(lineString.getGeometryObject().get(3).longitude, 66.0, 0); }
public List<LatLng> getGeometryObject() { return mCoordinates; }
LineString implements Geometry<List<LatLng>> { public List<LatLng> getGeometryObject() { return mCoordinates; } }
LineString implements Geometry<List<LatLng>> { public List<LatLng> getGeometryObject() { return mCoordinates; } LineString(List<LatLng> coordinates); }
LineString implements Geometry<List<LatLng>> { public List<LatLng> getGeometryObject() { return mCoordinates; } LineString(List<LatLng> coordinates); String getGeometryType(); List<LatLng> getGeometryObject(); @Override String toString(); }
LineString implements Geometry<List<LatLng>> { public List<LatLng> getGeometryObject() { return mCoordinates; } LineString(List<LatLng> coordinates); String getGeometryType(); List<LatLng> getGeometryObject(); @Override String toString();  }