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