public final class MultiPoint extends Geometry
Constructor and Description |
---|
MultiPoint(CoordinateReferenceSystem coordinateReferenceSystem,
java.util.List<Position> coordinates)
Construct an instance with the given coordinates and coordinate reference system.
|
MultiPoint(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<Position> |
getCoordinates()
Gets the GeoJSON coordinates of this MultiPoint.
|
GeoJsonObjectType |
getType()
Gets the GeoJSON object type.
|
int |
hashCode() |
java.lang.String |
toString() |
getCoordinateReferenceSystem, toJson
public MultiPoint(java.util.List<Position> coordinates)
coordinates
- the coordinatespublic MultiPoint(CoordinateReferenceSystem coordinateReferenceSystem, java.util.List<Position> coordinates)
coordinateReferenceSystem
- the coordinate reference systemcoordinates
- the coordinatespublic GeoJsonObjectType getType()
Geometry
public java.util.List<Position> getCoordinates()
public java.lang.String toString()
toString
in class java.lang.Object