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, toJsonpublic MultiPolygon(java.util.List<PolygonCoordinates> coordinates)
coordinates - the coordinatespublic MultiPolygon(@Nullable
CoordinateReferenceSystem coordinateReferenceSystem,
java.util.List<PolygonCoordinates> coordinates)
coordinateReferenceSystem - the coordinate reference systemcoordinates - the coordinatespublic GeoJsonObjectType getType()
Geometrypublic java.util.List<PolygonCoordinates> getCoordinates()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2010 - 2023 Adobe. All Rights Reserved