タイピング#

タイプエイリアスとPyVistaで使用されるタイプ変数。

数値の配列に似た型#

pyvista.NumberType#

数値データ型のための型変数。

NumberType = TypeVar(NumberType, bound=numpy.floating | numpy.integer | numpy.bool | float | int | bool)#

Type:    TypeVar

Invariant TypeVar bound to typing.Union[numpy.floating, numpy.integer, numpy.bool, float, int, bool].

pyvista.ArrayLike#

任意次元の数値を持つ配列のようなオブジェクト。

シーケンス、ネストされたシーケンス、およびnumpy配列が含まれます。スカラー値は含まれていません。

ArrayLike#

ndarray[tuple[Any, ...], dtype[NumberType]] | Sequence[NumberType] | Sequence[ndarray[tuple[Any, ...], dtype[NumberType]]] | Sequence[Sequence[NumberType]] | Sequence[Sequence[ndarray[tuple[Any, ...], dtype[NumberType]]]] | Sequence[Sequence[Sequence[NumberType]]] | Sequence[Sequence[Sequence[ndarray[tuple[Any, ...], dtype[NumberType]]]]] | Sequence[Sequence[Sequence[Sequence[NumberType]]]] | Sequence[Sequence[Sequence[Sequence[ndarray[tuple[Any, ...], dtype[NumberType]]]]]]の別名です。

pyvista.MatrixLike#

2次元の数値を持つ配列のようなオブジェクト。

Includes singly nested sequences and numpy arrays.

MatrixLike#

ndarray[tuple[Any, ...], dtype[NumberType]] | Sequence[Sequence[NumberType]] | Sequence[Sequence[ndarray[tuple[Any, ...], dtype[NumberType]]]]の別名です。

pyvista.VectorLike#

1次元の数値を持つ配列のようなオブジェクト。

シーケンスとnumpy配列を含みます。

VectorLike#

ndarray[tuple[Any, ...], dtype[NumberType]] | Sequence[NumberType] | Sequence[ndarray[tuple[Any, ...], dtype[NumberType]]]の別名です。