public final class MultiLineString extends Geometry
Constructor | Description |
---|---|
MultiLineString(CoordinateReferenceSystem coordinateReferenceSystem,
List<List<Position>> coordinates) |
Construct an instance with the given coordinates and coordinate reference system.
|
MultiLineString(List<List<Position>> coordinates) |
Construct an instance with the given coordinates.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(Object o) |
|
List<List<Position>> |
getCoordinates() |
Gets the GeoJSON coordinates of this MultiLineString
|
GeoJsonObjectType |
getType() |
Gets the GeoJSON object type.
|
int |
hashCode() |
|
String |
toString() |
getCoordinateReferenceSystem, toJson
public MultiLineString(List<List<Position>> coordinates)
coordinates
- the coordinates of each linepublic MultiLineString(@Nullable CoordinateReferenceSystem coordinateReferenceSystem, List<List<Position>> coordinates)
coordinateReferenceSystem
- the coordinate reference systemcoordinates
- the coordinates of each linepublic GeoJsonObjectType getType()
Geometry
public List<List<Position>> getCoordinates()