This function calculates the minimum coverage percentage of an alpha ball over the bounded area being considered. 0 is no coverage, 1 means complete coverage. For the square, r is the length of the side. For circle, r is the radius. For the annulus, r and min_r are the two radii.
calc_overlap_2D(alpha, r = 1, rmin = 0.01, bound = "square")
area of overlap
radius of alpha ball
length of square, radius of circle, or outer radius of annulus
inner radius of annulus
manifold shape, options are "square", "circle", or "annulus"