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 java.lang.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(java.util.List<Position> exterior, java.util.List<Position>... holes)
Deprecated.Construct an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Deprecated.java.util.List<Position>
getExterior()
Deprecated.Gets the exterior of the polygon.java.util.List<java.util.List<Position>>
getHoles()
Deprecated.Gets the holes in the polygon.int
hashCode()
Deprecated.java.lang.String
toString()
Deprecated.
-
-
-
Method Detail
-
getExterior
public java.util.List<Position> getExterior()
Deprecated.Gets the exterior of the polygon.- Returns:
- the exterior of the polygon
-
getHoles
public java.util.List<java.util.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
-
equals
public boolean equals(java.lang.Object o)
Deprecated.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-