outline#
- UniformGrid.outline(generate_faces=False, progress_bar=False)#
Produce an outline of the full extent for the input dataset.
- Parameters
- Returns
pyvista.PolyData
Mesh containing an outline of the original dataset.
Examples
Generate and plot the outline of a sphere. This is effectively the
(x, y, z)
bounds of the mesh.>>> import pyvista >>> sphere = pyvista.Sphere() >>> outline = sphere.outline() >>> pyvista.plot([sphere, outline], line_width=5)
See Using Common Filters for more examples using this filter.