Class GeoJsonPoint
java.lang.Object
org.springframework.data.geo.Point
com.arangodb.springframework.core.geo.GeoJsonPoint
- All Implemented Interfaces:
GeoJson<List<Double>>
,Serializable
- Author:
- Christoph Strobl
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGeoJsonPoint
(double x, double y) CreatesGeoJsonPoint
for given coordinates.GeoJsonPoint
(Point point) CreatesGeoJsonPoint
for givenPoint
. -
Method Summary
-
Constructor Details
-
GeoJsonPoint
public GeoJsonPoint(double x, double y) CreatesGeoJsonPoint
for given coordinates.- Parameters:
x
-y
-
-
GeoJsonPoint
CreatesGeoJsonPoint
for givenPoint
.- Parameters:
point
- must not be null.
-
-
Method Details
-
getType
Description copied from interface:GeoJson
String value representing the type of theGeoJson
object. -
getCoordinates
Description copied from interface:GeoJson
The value of the coordinates member is always anIterable
. The structure for the elements within is determined byGeoJson.getType()
of geometry.- Specified by:
getCoordinates
in interfaceGeoJson<List<Double>>
- Returns:
- will never be null.
- See Also:
-