powered by
Break up a polygon
GEOmap.breakpoly(Z, ww)
list of x values
list of y values
list, x,y locations
vector of indecies where NAs occur
Jonathan M. Lees<jonathan.lees@unc.edu>
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.
fixCoastwrap, GEOmap.breakline
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