Learn R Programming

geo (version 1.4-3)

cut_multipoly: Intersect or take complement (?) of polygons

Description

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

Usage

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 (?)

See Also

Called by geopolygon, calls findcut and prepare.line