pyvista.OpenFOAMReader.decompose_polyhedra#

property OpenFOAMReader.decompose_polyhedra[ソース]#

多面体の読み取り時に分解を行うかどうか.

戻り値:
bool

True の場合,多面体を4面体とピラミッドに分解します.

>>> import pyvista as pv
>>> from pyvista import examples
>>> filename = examples.download_cavity(load=False)
>>> reader = pv.OpenFOAMReader(filename)
>>> reader.decompose_polyhedra = False
>>> reader.decompose_polyhedra
False