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