The indices of the ridge do not seem to be in cyclic order. So, reconstructing back the polygon face might not be possible.
An alternate is to pass the output of gvoronoi
of each cell to qconvex
to construct the convex hull. This does not scale well, but might be okay if you have few cells you want to visualize or analyse.
For example, to get Voronoi cell of input site 5 of 30 input sites:
$ rbox 30 D3 | qvoronoi QV5 p | qconvex G