DataSetFilters.outline#
- DataSetFilters.outline(generate_faces: bool = False, progress_bar: bool = False)[source]#
Produce an outline of the full extent for the input dataset.
- Parameters:
- Returns:
pyvista.PolyDataMesh containing an outline of the original dataset.
See also
bounding_boxSimilar filter with additional options.
Examples#
Download Python source code | Download Jupyter notebook
Generate and plot the outline of a sphere. This is
effectively the (x, y, z) bounds of the mesh.
>>> import pyvista as pv
>>> sphere = pv.Sphere()
>>> outline = sphere.outline()
>>> pv.plot([sphere, outline], line_width=5)
See Using Common Filters for more examples using this filter.