pyvista.Prop3D.bounds#

property Prop3D.bounds: Tuple[int | float, int | float, int | float, int | float, int | float, int | float][ソース]#

エンティティの境界を返します.

境界は (-X, +X, -Y, +Y, -Z, +Z) です.

>>> import pyvista as pv
>>> pl = pv.Plotter()
>>> mesh = pv.Cube(x_length=0.1, y_length=0.2, z_length=0.3)
>>> actor = pl.add_mesh(mesh)
>>> actor.bounds
(-0.05, 0.05, -0.1, 0.1, -0.15, 0.15)
../../../_images/pyvista-Prop3D-bounds-1_00_00.png