Learn R Programming

unfoldr (version 0.7.1)

updateIntersections: Check intersection

Description

Check itersection of either spheres, spheroids or spherocylinders

Usage

updateIntersections(S)

Arguments

S

list of spheres, spheroids or spherocylinders, see simPoissonSystem

Value

binary integer vector of length equal to the length of S

Details

For a given list of spheres, spheroids or spherocylinders the function tests whether an object intersects one of the lateral planes (bottom, top plane included) of the simulation box. The vector returned is of length equal to the number of objects in S and has entries either 1 for an object which is intersected by and 0 otherwise.