# Examples from pyvista.Plotter.enable_surface_point_picking
# ==========================================================

# Add a cube to a plot and enable cell picking.
import pyvista as pv
cube = pv.Cube()
pl = pv.Plotter()
_ = pl.add_mesh(cube)
_ = pl.enable_surface_point_picking()

# See Picking a Point on the Surface of a Mesh for a full example using this method.

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

