public class Polygon extends Geometry<List<LngLatAlt>>
coordinates| Constructor and Description |
|---|
Polygon() |
Polygon(List<LngLatAlt> polygon) |
Polygon(LngLatAlt... polygon) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(GeoJsonObjectVisitor<T> geoJsonObjectVisitor) |
void |
addInteriorRing(List<LngLatAlt> points) |
void |
addInteriorRing(LngLatAlt... points) |
List<LngLatAlt> |
getExteriorRing() |
List<LngLatAlt> |
getInteriorRing(int index) |
List<List<LngLatAlt>> |
getInteriorRings() |
void |
setExteriorRing(List<LngLatAlt> points) |
String |
toString() |
add, equals, getCoordinates, hashCode, setCoordinatesgetBbox, getCrs, setBbox, setCrspublic Polygon()
public Polygon(LngLatAlt... polygon)
public void addInteriorRing(LngLatAlt... points)
public <T> T accept(GeoJsonObjectVisitor<T> geoJsonObjectVisitor)
accept in class GeoJsonObjectCopyright © 2018. All rights reserved.