pyvista.PolyData.n_lines#

property PolyData.n_lines: int[ソース]#

線の数を返します.

>>> import pyvista as pv
>>> mesh = pv.Line()
>>> mesh.n_lines
1