Learn R Programming

geo (version 1.4-3)

findcut: Find intersection or complement

Description

Find intersection or compliment of two polygons.

Usage

findcut(x, xb, in.or.out)

Arguments

x
Polygon
xb
Polygon to intersect with/complement from
in.or.out
Whether to take intersect of x and xb (0) or complement of x in xb (1). Default 0.

Value

Returns a list of
x, y
Coordinate of intersect or compliment
nxr
Number/index of returned coordinates in xb (?)

See Also

Called by cut_multipoly, geointersect and reitaplott; calls find.hnit and geoinside.