GeoMultiPolygon

public class GeoMultiPolygon extends GeoGeometryCollection

Fields

serialVersionUID

protected static final long serialVersionUID

Constructors

GeoMultiPolygon

public GeoMultiPolygon()

GeoMultiPolygon

public GeoMultiPolygon(GeoMultiPolygon multiPolygon)

Methods

add

public void add(GeoGeometry geometry)

add

public void add(GeoPolygon polygon)

closeRings

public void closeRings()

copy

public GeoGeometry copy()

get

public GeoPolygon get(int index)

getArea

public double getArea()

getInstance

protected GeoGeometryCollection getInstance()

getPerimeter

public double getPerimeter()

getType

public int getType()

isHolesInside

public boolean isHolesInside()

isHolesIntersect

public boolean isHolesIntersect()

isSelfIntersects

public boolean isSelfIntersects()

setCoordinatesFromJSON

public void setCoordinatesFromJSON(JSONArray coordinates)

setCoordinatesFromJSONStream

public void setCoordinatesFromJSONStream(JsonReader reader, int crs)

setCoordinatesFromWKT

public void setCoordinatesFromWKT(String wkt, int crs)

toWKT

public String toWKT(boolean full)