PlotConvexHull: Plots the minimum convex hull of a set of coordinates

Description Usage Arguments Value Note Examples

Description

Plots the minimum convex hull of a set of coordinates

Usage

1
PlotConvexHull(xcoord, ycoord, lcolor = "blue")

Arguments

xcoord

- Array of x-coordinates or longitudinal values

ycoord

- Array of y-coordinates or latitudinal values

lcolor

- String or integer value indicating the color of the convex hull boundary lines

Value

Plots a minimum convex hull

Note

This function does not account for the possibility of points crossing the prime meridian and in cases where this occurs the convex hull shown will be incorrect

Examples

1
2
3
longs<-c(20,20,40,40)
lats<-c(-5,5,-5,5)
PlotConvexHull(xcoord=longs,ycoord=lats)

Example output



GeoRange documentation built on May 1, 2019, 8:03 p.m.