PolygonBoolean: intersection (overlay, clip), union and difference
(erase) of two simple polygons by the Greiner-Hormann algorithm.
PolygonArea: signed shoelace area. FilledContourBands:
exact isoband polygons and areas of the piecewise-linear surface.
ElevationProfile: bilinear DEM profile along a polyline.
ProximityBands: multiple-ring buffer bands on a grid. Identical to
the Python arm morie.fn.geomops.
Usage
PolygonBoolean(subject, clip, op = "intersection")
PolygonArea(ring)
ElevationProfile(x, y, z, path, step)
ProximityBands(x, y, breaks, points = NULL, lines = NULL)Arguments
- subject, clip
Two-column matrices of polygon vertices.
- op
One of "intersection", "union", "difference".
- ring
Two-column matrix of a ring.
- x, y
Grid coordinates (ascending).
- z
Matrix of values, rows following y.
- path
Two-column matrix of polyline vertices.
- step
Sampling step.
- breaks
Band distance breaks.
- points
Two-column matrix of feature points (or NULL).
- lines
List of two-column polyline matrices (or NULL).
