Package com.mongodb.client.model.geojson
Class Geometry
java.lang.Object
com.mongodb.client.model.geojson.Geometry
- Direct Known Subclasses:
GeometryCollection
,LineString
,MultiLineString
,MultiPoint
,MultiPolygon
,Point
,Polygon
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
An abstract class for representations of GeoJSON geometry objects.
- Since:
- 3.1
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.Deprecated.Gets the coordinate reference system, which may be nullabstract GeoJsonObjectType
getType()
Deprecated.Gets the GeoJSON object type.int
hashCode()
Deprecated.toJson()
Deprecated.Converts to GeoJSON representation
-
Method Details
-
getType
Deprecated.Gets the GeoJSON object type.- Returns:
- the type
-
toJson
Deprecated.Converts to GeoJSON representation- Returns:
- the GeoJSON representation
-
getCoordinateReferenceSystem
Deprecated.Gets the coordinate reference system, which may be null- Returns:
- the possibly-null coordinate reference system
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated.
-