# Examples from pyvista.PointSet.delaunay_3d
# ==========================================

# Generate a 3D Delaunay triangulation of a surface mesh of a
# sphere and plot the interior edges generated.
import pyvista as pv
sphere = pv.Sphere(theta_resolution=5, phi_resolution=5)
grid = sphere.delaunay_3d()
edges = grid.extract_all_edges()
edges.plot(line_width=5, color='k')

# See Wrap a Point Cloud in a Convex Hull for more examples using this filter.

# ----------------------------------------------------------------------
# Generated by sphinx-examples-as-code https://github.com/pyvista/sphinx-examples-as-code

