Package com.mongodb.client.model.geojson
Class PolygonCoordinates
-
- com.mongodb.client.model.geojson.PolygonCoordinates
-
public final class PolygonCoordinates extends
Coordinates for a GeoJSON Polygon.- Since:
- 3.1
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
o)
<Position>
getExterior()
Gets the exterior of the polygon.<<Position>>
getHoles()
Gets the holes in the polygon.int
hashCode()
toString()
-
-
-
Method Detail
-
getExterior
public <Position> getExterior()
Gets the exterior of the polygon.- Returns:
- the exterior of the polygon
-
getHoles
public <<Position>> getHoles()
Gets the holes in the polygon.- Returns:
- the holes in the polygon, which will not be null but may be empty
-
equals
public boolean equals( o)
- Overrides:
in class
-
hashCode
public int hashCode()
- Overrides:
in class
-
toString
public toString()
- Overrides:
in class
-
-