calc_overlap_2D: Calculate Overlap 2D

View source: R/2D.R

calc_overlap_2DR 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


ashapesampler documentation built on May 29, 2024, 3:22 a.m.