Figure out which edges in the delaunay diagram are within the union of balls

get_lines(delaunay_tri_data, data_raw, delta, n_steps = 100)

Arguments

delaunay_tri_data

sp data of delaunay triangles lines (sp::SpatialLines)

data_raw

data frame with center points of balls

delta

fixed radius of all the balls

n_steps

number of equidistance points along the line, past delta on both sides, that will be checked to approximate all points along the line

Value

lines_mat

lines of edges that are kept (each edge has 2 rows and share an index). These edges are within the union of the balls.

removed_mat

lines of edges that should be removed (i.e. are not with the union of balls.)

Details

This function is shared with TCpredictionbands on github: TCpredictionbands.