pyvista.Camera.view_frustum#
- Camera.view_frustum(aspect=1.0)[source]#
Get the view frustum.
- Parameters:
- aspect
float
, default: 1.0 The aspect of the viewport to compute the planes.
- aspect
- Returns:
pyvista.PolyData
View frustum.
Examples
>>> import pyvista as pv >>> plotter = pv.Plotter() >>> frustum = plotter.camera.view_frustum(1.0) >>> frustum.n_points 8 >>> frustum.n_cells 6