public class OverlayPoint extends Object
| Constructor and Description |
|---|
OverlayPoint(double lon, double lat)
Create a point.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getLatitude()
Get this point's latitude.
|
double |
getLongitude()
Get this point's longitude.
|
static OverlayPoint |
maximum(Collection
Calculate a new point that has as its coordinate the maximum in both dimensions.
|
static OverlayPoint |
mean(Collection
Calculate a new point that is the mean of all input points.
|
static OverlayPoint |
minimum(Collection
Calculate a new point that has as its coordinate the minimum in both dimensions.
|
String |
toString()
|
public OverlayPoint(double lon,
double lat)
lon - this point's longitude.
lat - this.point's latitude.
public double getLongitude()
public double getLatitude()
public static OverlayPointmean(Collection <OverlayPoint > points)
points - a collection of points.
public static OverlayPointminimum(Collection <OverlayPoint > points)
points - a collection of points.
public static OverlayPointmaximum(Collection <OverlayPoint > points)
points - a collection of points.
public StringtoString()