Package com.mongodb.client.model.geojson
Class PolygonCoordinates
- java.lang.Object
-
- com.mongodb.client.model.geojson.PolygonCoordinates
-
@Deprecated(since="2021-05-27") public final class PolygonCoordinates extends Object
Deprecated.Usage of this API is not supported in AEM as a Cloud Service.Coordinates for a GeoJSON Polygon.- Since:
- 3.1
-
-
Constructor Summary
Constructors Constructor Description PolygonCoordinates(List<Position> exterior, List<Position>... holes)Deprecated.Construct an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object o)Deprecated.List<Position>getExterior()Deprecated.Gets the exterior of the polygon.List<List<Position>>getHoles()Deprecated.Gets the holes in the polygon.inthashCode()Deprecated.StringtoString()Deprecated.
-
-
-
Method Detail
-
getExterior
public List<Position> getExterior()
Deprecated.Gets the exterior of the polygon.- Returns:
- the exterior of the polygon
-
getHoles
public List<List<Position>> getHoles()
Deprecated.Gets the holes in the polygon.- Returns:
- the holes in the polygon, which will not be null but may be empty
-
-