Package com.mongodb.client.model.geojson
Class MultiPolygon
- java.lang.Object
-
- com.mongodb.client.model.geojson.Geometry
-
- com.mongodb.client.model.geojson.MultiPolygon
-
@Deprecated(since="2021-05-27") public final class MultiPolygon extends Geometry
Deprecated.Usage of this API is not supported in AEM as a Cloud Service.A representation of a GeoJSON MultiPolygon.- Since:
- 3.1
-
-
Constructor Summary
Constructors Constructor Description MultiPolygon(CoordinateReferenceSystem coordinateReferenceSystem, List<PolygonCoordinates> coordinates)
Deprecated.Construct an instance.MultiPolygon(List<PolygonCoordinates> coordinates)
Deprecated.Construct an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object o)
Deprecated.List<PolygonCoordinates>
getCoordinates()
Deprecated.Gets the coordinates.GeoJsonObjectType
getType()
Deprecated.Gets the GeoJSON object type.int
hashCode()
Deprecated.String
toString()
Deprecated.-
Methods inherited from class com.mongodb.client.model.geojson.Geometry
getCoordinateReferenceSystem, toJson
-
-
-
-
Constructor Detail
-
MultiPolygon
public MultiPolygon(List<PolygonCoordinates> coordinates)
Deprecated.Construct an instance.- Parameters:
coordinates
- the coordinates
-
MultiPolygon
public MultiPolygon(@Nullable CoordinateReferenceSystem coordinateReferenceSystem, List<PolygonCoordinates> coordinates)
Deprecated.Construct an instance.- Parameters:
coordinateReferenceSystem
- the coordinate reference systemcoordinates
- the coordinates
-
-
Method Detail
-
getType
public GeoJsonObjectType getType()
Deprecated.Description copied from class:Geometry
Gets the GeoJSON object type.
-
getCoordinates
public List<PolygonCoordinates> getCoordinates()
Deprecated.Gets the coordinates.- Returns:
- the coordinates
-
-