GEOmap.breakpoly: Break up a polygon

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/GEOmap.breakpoly.R

Description

Break up a polygon

Usage

1

Arguments

Z

list, x,y locations

ww

vector of indecies where NAs occur

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.

Value

newx

list of x values

newy

list of y values

Author(s)

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

See Also

fixCoastwrap, GEOmap.breakline

Examples

1
2
3
4
5
6
7
8
9
x=1:100
y = 1:100

ww = c(25, 53, 75)


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

W = GEOmap.breakpoly(A , ww)

GEOmap documentation built on May 2, 2019, 8:56 a.m.