calc_overlap_3D {ashapesampler}R Documentation

calculate overlap in three dimensions (calc_overlap_3D)

Description

Calculates the volume of intersection divided by the volume of the manifold. For the cube, r is the length of the side. For sphere, r is the radius. For the annulus, r and min_r are the two radii.

Usage

calc_overlap_3D(alpha, r = 1, rmin = 0.01, bound = "cube")

Arguments

alpha

radius of one sphere

r

radius of second sphere or outer radius of shell or length of cube side

rmin

inner radius of shell, only needed if bound=shell

bound

manifold type, options are "cube", "shell", and "sphere"

Value

volume of overlap


[Package ashapesampler version 1.0.0 Index]