cut_multipoly: Intersect or take complement (?) of polygons

Description Usage Arguments Value Note See Also

View source: R/cut_multipoly.R

Description

Intersect or take complement (?) of one or many polygons with a single one.

Usage

1
cut_multipoly(x, xb, in.or.out = 0)

Arguments

x

Polygon or polygons, seperated with NAs, hence 'multipoly'

xb

Polygon to intersect with/complement from

in.or.out

Whether to take the intersect (0) or complement of x in xb (1). Default 0

Value

List with compents:

x, y

with coordinates of intersection or complement (?)

Note

Check use of in.or.out=1, when there are many polygons in x, how is the complement with xb taken? Needs elaboration. Possibly drop in.or.out from argument list and fix it at 0 in call to findcut.

See Also

Called by geopolygon, calls findcut and prepare.line


geo documentation built on May 2, 2019, 5:22 p.m.