calc_overlap_2D {ashapesampler} | R Documentation |
Calculate Overlap 2D
Description
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.
Usage
calc_overlap_2D(alpha, r = 1, rmin = 0.01, bound = "square")
Arguments
alpha |
radius of alpha ball |
r |
length of square, radius of circle, or outer radius of annulus |
rmin |
inner radius of annulus |
bound |
manifold shape, options are "square", "circle", or "annulus" |
Value
area of overlap
[Package ashapesampler version 1.0.0 Index]