public class GeoPolygon extends Object implements Serializable
Constructor and Description |
---|
GeoPolygon() |
GeoPolygon(Collection<GeoPoint> points) |
GeoPolygon(GeoPoint[] points) |
Modifier and Type | Method and Description |
---|---|
GeoPolygon |
add(double longitude,
double latitude) |
GeoPolygon |
add(GeoPoint point) |
boolean |
equals(Object o) |
List<GeoPoint> |
getPoints() |
int |
hashCode() |
boolean |
in(GeoPoint point) |
boolean |
isEmpty() |
boolean |
on(GeoPoint point) |
String |
toString() |
public GeoPolygon()
public GeoPolygon(GeoPoint[] points)
public GeoPolygon(Collection<GeoPoint> points)
public boolean isEmpty()
public GeoPolygon add(GeoPoint point)
public GeoPolygon add(double longitude, double latitude)
public boolean in(GeoPoint point)
public boolean on(GeoPoint point)
Copyright © 2022. All rights reserved.