This is documentation for an old release of SciPy (version 1.5.3). Read this page in the documentation of the latest stable release (version 1.15.1).
scipy.spatial.SphericalVoronoi.calculate_areas¶
-
SphericalVoronoi.
calculate_areas
(self)[source]¶ Calculates the areas of the Voronoi regions.
For 2D point sets, the regions are circular arcs. The sum of the areas is 2 * pi * radius.
For 3D point sets, the regions are spherical polygons. The sum of the areas is 4 * pi * radius**2.
New in version 1.5.0.
- Returns
- areasdouble array of shape (npoints,)
The areas of the Voronoi regions.