pyvista.Camera.view_frustum#

Camera.view_frustum(aspect=1.0)[ソース]#

視錐台を返します.

パラメータ:
aspectfloat, default: 1.0

平面を計算するビューポートのアスペクト.

戻り値:
pyvista.PolyData

frustumを見る.

>>> import pyvista as pv
>>> plotter = pv.Plotter()
>>> frustum = plotter.camera.view_frustum(1.0)
>>> frustum.n_points
8
>>> frustum.n_cells
6
../../../_images/pyvista-Camera-view_frustum-1_00_00.png