pyvista.DataSetFilters.outline_corners#
- DataSetFilters.outline_corners(factor=0.2, progress_bar=False)[source]#
Produce an outline of the corners for the input dataset.
- Parameters:
- Returns:
pyvista.PolyData
Mesh containing outlined corners.
Examples
Generate and plot the corners of a sphere. This is effectively the
(x, y, z)
bounds of the mesh.>>> import pyvista as pv >>> sphere = pv.Sphere() >>> corners = sphere.outline_corners(factor=0.1) >>> pv.plot([sphere, corners], line_width=5)