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, setCoordinates
getBbox, getCrs, setBbox, setCrs
public Polygon()
public Polygon(LngLatAlt... polygon)
public void addInteriorRing(LngLatAlt... points)
public <T> T accept(GeoJsonObjectVisitor<T> geoJsonObjectVisitor)
accept
in class GeoJsonObject
Copyright © 2016. All rights reserved.