Package com.mongodb.client.model.geojson
Class PolygonCoordinates
- java.lang.Object
-
- com.mongodb.client.model.geojson.PolygonCoordinates
-
public final class PolygonCoordinates extends Object
Coordinates for a GeoJSON Polygon.- Since:
- 3.1
-
-
Constructor Summary
Constructors Constructor Description PolygonCoordinates(List<Position> exterior, List<Position>... holes)
Construct an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
List<Position>
getExterior()
Gets the exterior of the polygon.List<List<Position>>
getHoles()
Gets the holes in the polygon.int
hashCode()
String
toString()
-