{ } Raw JSON

bundles / scipy latest / scipy / spatial / _qhull / _Qhull / get_voronoi_diagram

cython_function_or_method

scipy.spatial._qhull:_Qhull.get_voronoi_diagram

Signature

def   get_voronoi_diagram ( self )

Summary

Return the voronoi diagram currently in Qhull.

Returns

voronoi_vertices : array of double, shape (nvoronoi_vertices, ndim)

Coordinates of the Voronoi vertices

ridge_points : array of double, shape (nridges, 2)

Voronoi ridges, as indices to the points array.

ridge_vertices : list of lists, shape (nridges, *)

Voronoi vertices for each Voronoi ridge, as indices to the Voronoi vertices array. Infinity is indicated by index -1.

regions : list of lists, shape (nregion, *)

Voronoi vertices of all regions.

point_region : array of int, shape (npoint,)

Index of the Voronoi region for each input point.

Aliases

  • scipy.spatial._qhull._Qhull.get_voronoi_diagram