alphahull_sf: Convert an alpha hull into an sf object

View source: R/alphahull_sf.R

alphahull_sfR Documentation

Convert an alpha hull into an sf object

Description

Convert an alphahull ahull object into an sf object.

Usage

alphahull_sf(xy, alpha, buffer_width)

Arguments

xy

A two-column matrix of x, y coordinates.

alpha

Alpha parameter for calculating the hull.

buffer_width

The width (in xy CRS) to buffer intermediate polylines such that they combine into closed polygons.

Value

An sf object.

References

Adapted from ConR:::.alpha.hull.poly and ConR:::.alpha.hull.poly.


jscamac/edmaps documentation built on June 11, 2022, 1:26 a.m.