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) CreatesGeoJsonPointfor given coordinates.GeoJsonPoint(Point point) CreatesGeoJsonPointfor givenPoint. -
Method Summary
-
Constructor Details
-
GeoJsonPoint
public GeoJsonPoint(double x, double y) CreatesGeoJsonPointfor given coordinates.- Parameters:
x-y-
-
GeoJsonPoint
CreatesGeoJsonPointfor givenPoint.- Parameters:
point- must not be null.
-
-
Method Details
-
getType
Description copied from interface:GeoJsonString value representing the type of theGeoJsonobject. -
getCoordinates
Description copied from interface:GeoJsonThe value of the coordinates member is always anIterable. The structure for the elements within is determined byGeoJson.getType()of geometry.- Specified by:
getCoordinatesin interfaceGeoJson<List<Double>>- Returns:
- will never be null.
- See Also:
-