@Immutable public class DefaultPolygon extends DefaultGeometry implements Polygon
Modifier and Type | Class and Description |
---|---|
static class |
DefaultPolygon.Builder |
SPATIAL_REFERENCE_4326
Constructor and Description |
---|
DefaultPolygon(com.esri.core.geometry.ogc.OGCPolygon polygon) |
DefaultPolygon(Point p1,
Point p2,
Point p3,
Point... pn) |
Modifier and Type | Method and Description |
---|---|
List<Point> |
getExteriorRing()
Returns the external ring of the polygon.
|
List<List<Point>> |
getInteriorRings()
Returns the internal rings of the polygon, i.e.
|
asGeoJson, asWellKnownBinary, asWellKnownText, contains, equals, fromOgcGeoJson, fromOgcWellKnownBinary, fromOgcWellKnownText, getEsriGeometry, getOgcGeometry, getPoints, hashCode, toEsri, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
builder, fromGeoJson, fromWellKnownBinary, fromWellKnownText
asGeoJson, asWellKnownBinary, asWellKnownText, contains
public DefaultPolygon(@NonNull Point p1, @NonNull Point p2, @NonNull Point p3, @NonNull Point... pn)
public DefaultPolygon(@NonNull com.esri.core.geometry.ogc.OGCPolygon polygon)
@NonNull public List<Point> getExteriorRing()
Polygon
getExteriorRing
in interface Polygon
Copyright © 2017–2019. All rights reserved.