poly_clip: Polygon Clipping
Description
This function is provided to efficiently and safely handle clipping
operations. It wraps around polyclip::polyclip()
, which is an
interface to the Clipper C++ library.
Usage
poly_clip(a, b, op = c("intersection", "union", "minus", "xor"))