outline_corners#
- PolyData.outline_corners(factor=0.2, progress_bar=False)#
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 >>> sphere = pyvista.Sphere() >>> corners = sphere.outline_corners(factor=0.1) >>> pyvista.plot([sphere, corners], line_width=5)