Skip to contents

Computes the area of each convex hull polygon and the X/Y extent (bounding box width and height).

Usage

calc_hull_area(hulls)

Arguments

hulls

An sf object with convex hull polygons, as returned by build_convex_hulls().

Value

The same sf object with added columns: area_2d, extent_x, extent_y.