Generates a rectangular bounding box around a point cloud, filling it with 0 wherever there are no points

box_make(point_set, step_size = 1)

Arguments

point_set

a data frame containing point coordinates. Columns must be named as "x" and "y".

step_size

a numeric indicating how much bigger the bounding box should be compared to the point cloud. Default is 1 unit.

Value

A data frame containing the original points and the bounding box coordinates