Package com.mongodb.client.model.geojson
Class Point
java.lang.Object
com.mongodb.client.model.geojson.Geometry
com.mongodb.client.model.geojson.Point
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
A representation of a GeoJSON Point.
- Since:
- 3.1
-
Constructor Summary
ConstructorsConstructorDescriptionPoint
(CoordinateReferenceSystem coordinateReferenceSystem, Position coordinate) Deprecated.Construct an instance with the given coordinate and coordinate reference system.Deprecated.Construct an instance with the given coordinate. -
Method Summary
Methods inherited from class com.mongodb.client.model.geojson.Geometry
getCoordinateReferenceSystem, toJson
-
Constructor Details
-
Point
Deprecated.Construct an instance with the given coordinate.- Parameters:
coordinate
- the non-null coordinate of the point
-
Point
Deprecated.Construct an instance with the given coordinate and coordinate reference system.- Parameters:
coordinateReferenceSystem
- the coordinate reference systemcoordinate
- the non-null coordinate of the point
-
-
Method Details
-
getType
Deprecated.Description copied from class:Geometry
Gets the GeoJSON object type. -
getCoordinates
Deprecated.Gets the GeoJSON coordinates of this point.- Returns:
- the coordinates
-
getPosition
Deprecated.Gets the position of this point.- Returns:
- the position
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-