MultiBlock.length#
- property MultiBlock.length: float[source]#
Return the length of the diagonal of the bounding box.
- Returns:
floatLength of the diagonal of the bounding box.
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> data = [
... pv.Sphere(center=(2, 0, 0)),
... pv.Cube(center=(0, 2, 0)),
... pv.Cone(),
... ]
>>> blocks = pv.MultiBlock(data)
>>> blocks.length
4.3584