@Experimental public class GeoLineString extends AbstractGeoJsonObject
| Constructor and Description |
|---|
GeoLineString(GeoPoint startPoint,
GeoPoint endPoint)
Instantiates a new LineString.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static GeoLineString |
fromDocument(org.bson.Document document) |
GeoPoint |
getEndPoint() |
GeoPoint |
getStartPoint() |
int |
hashCode() |
protected org.bson.BsonArray |
toCoordinates() |
String |
toString() |
checkType, toBsonDocumentpublic static final String TYPE
public GeoPoint getStartPoint()
public GeoPoint getEndPoint()
protected org.bson.BsonArray toCoordinates()
toCoordinates in class AbstractGeoJsonObjectpublic static GeoLineString fromDocument(org.bson.Document document)
Copyright © 2010-2018 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.