Learn R Programming

GEOmap (version 2.5-11)

GEOmap.breakpoly: Break up a polygon

Description

Break up a polygon

Usage

GEOmap.breakpoly(Z, ww)

Value

newx

list of x values

newy

list of y values

Arguments

Z

list, x,y locations

ww

vector of indecies where NAs occur

Author

Jonathan M. Lees<jonathan.lees@unc.edu>

Details

The NA values in Z represent breaks. GEOmap.breakpoly breaks the polygon up into individual strokes. The beginning and the ending of the stroke are combined.

See Also

fixCoastwrap, GEOmap.breakline

Examples

Run this code

x=1:100
y = 1:100

ww = c(25, 53, 75)


A = list(x=x, y=y)

W = GEOmap.breakpoly(A , ww)




Run the code above in your browser using DataLab