Calculation of the Voronoi boundary for lens-shaped particles and spherocylinders