The function draws the defect projections in a 3d plot and returns the points of its the convex hull together with points of each projected particle (here a sphere).
getSphereProjection(S, draw = TRUE, conv = TRUE, np = 20)
particles to be projected
logical, draw=TRUE
(default) draw the projected spheres
logical, conv=TRUE
(default) draw the convex hull
number of points used for sampling the convex hull of projections
draw projections and the convex hull (if enabled) in a 3d plot returning its polygonal area and points of the convex hull