public static class GeoKit.Polygon extends Object implements Serializable
| Constructor and Description |
|---|
Polygon() |
Polygon(Collection<GeoKit.Point> points) |
Polygon(GeoKit.Point[] points) |
| Modifier and Type | Method and Description |
|---|---|
GeoKit.Polygon |
add(double longitude,
double latitude) |
GeoKit.Polygon |
add(GeoKit.Point point) |
List<GeoKit.Point> |
getPoints() |
boolean |
in(GeoKit.Point point) |
boolean |
isEmpty() |
boolean |
on(GeoKit.Point point) |
public Polygon()
public Polygon(GeoKit.Point[] points)
public Polygon(Collection<GeoKit.Point> points)
public boolean isEmpty()
public GeoKit.Polygon add(GeoKit.Point point)
public GeoKit.Polygon add(double longitude, double latitude)
public List<GeoKit.Point> getPoints()
public boolean in(GeoKit.Point point)
public boolean on(GeoKit.Point point)
Copyright © 2020. All rights reserved.