| Package | Description |
|---|---|
| org.hibernate.ogm.datastore.mongodb.type |
| Modifier and Type | Method and Description |
|---|---|
static GeoPoint |
GeoPoint.fromDocument(org.bson.Document document) |
GeoPoint |
GeoLineString.getEndPoint() |
GeoPoint |
GeoLineString.getStartPoint() |
| Modifier and Type | Method and Description |
|---|---|
List<GeoPoint> |
GeoPolygon.getExternalRing()
Returns the external ring of the polygon.
|
List<GeoPoint> |
GeoMultiPoint.getPoints() |
List<List<GeoPoint>> |
GeoPolygon.getRings() |
| Modifier and Type | Method and Description |
|---|---|
GeoPolygon |
GeoPolygon.addHole(GeoPoint firstPoint,
GeoPoint secondPoint,
GeoPoint thirdPoint,
GeoPoint fourthPoint,
GeoPoint... additionalPoints)
Adds a new hole to the polygon.
|
GeoPolygon |
GeoPolygon.addHole(GeoPoint firstPoint,
GeoPoint secondPoint,
GeoPoint thirdPoint,
GeoPoint fourthPoint,
GeoPoint... additionalPoints)
Adds a new hole to the polygon.
|
GeoMultiPoint |
GeoMultiPoint.addPoint(GeoPoint point)
Adds a new point.
|
| Modifier and Type | Method and Description |
|---|---|
GeoPolygon |
GeoPolygon.addHole(List<GeoPoint> hole)
Adds a new hole to the polygon.
|
GeoPolygon |
GeoPolygon.addHoles(List<List<GeoPoint>> holes)
Adds new holes to the polygon.
|
| Constructor and Description |
|---|
GeoLineString(GeoPoint startPoint,
GeoPoint endPoint)
Instantiates a new LineString.
|
GeoMultiPoint(GeoPoint point)
Instantiates a new MultiPoint.
|
GeoMultiPoint(GeoPoint firstPoint,
GeoPoint... additionalPoints)
Instantiates a new MultiPoint.
|
GeoMultiPoint(GeoPoint firstPoint,
GeoPoint... additionalPoints)
Instantiates a new MultiPoint.
|
GeoPolygon(GeoPoint firstPoint,
GeoPoint secondPoint,
GeoPoint thirdPoint,
GeoPoint fourthPoint,
GeoPoint... additionalPoints)
Instantiates a new Polygon.
|
GeoPolygon(GeoPoint firstPoint,
GeoPoint secondPoint,
GeoPoint thirdPoint,
GeoPoint fourthPoint,
GeoPoint... additionalPoints)
Instantiates a new Polygon.
|
| Constructor and Description |
|---|
GeoMultiPoint(List<GeoPoint> points)
Instantiates a new MultiPoint.
|
GeoPolygon(List<GeoPoint> exteriorRing)
Instantiates a new Polygon.
|
Copyright © 2010-2018 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.