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