@Experimental public class GeoMultiPoint extends AbstractGeoJsonObject
| Constructor and Description |
|---|
GeoMultiPoint(GeoPoint point)
Instantiates a new MultiPoint.
|
GeoMultiPoint(GeoPoint firstPoint,
GeoPoint... additionalPoints)
Instantiates a new MultiPoint.
|
GeoMultiPoint(List<GeoPoint> points)
Instantiates a new MultiPoint.
|
| Modifier and Type | Method and Description |
|---|---|
GeoMultiPoint |
addPoint(GeoPoint point)
Adds a new point.
|
boolean |
equals(Object obj) |
static GeoMultiPoint |
fromDocument(org.bson.Document document) |
List<GeoPoint> |
getPoints() |
int |
hashCode() |
protected org.bson.BsonArray |
toCoordinates() |
String |
toString() |
checkType, toBsonDocumentpublic GeoMultiPoint(GeoPoint point)
point - the first pointpublic GeoMultiPoint(List<GeoPoint> points)
points - the list of pointspublic GeoMultiPoint addPoint(GeoPoint point)
point - a pointprotected org.bson.BsonArray toCoordinates()
toCoordinates in class AbstractGeoJsonObjectpublic static GeoMultiPoint 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.