# Examples from pyvista.PolyDataFilters.edge_mask
# ===============================================

# Plot the mask of points that exceed 45 degrees.
import pyvista as pv
mesh = pv.Cube().triangulate().subdivide(4)
mask = mesh.edge_mask(45)
mesh.plot(scalars=mask)

# Show the array of masked points.
mask

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