vPocket: factor out getVoronoiEdges() and reorderEdges()