pyvista.core._validation.validate.validate_transform3x3#
- validate_transform3x3( )[ソース]#
トランスフォームのような入力を3x3のndarrayとして検証します.
- パラメータ:
- transform
RotationLike
Transformation matrix as a 3x3 array, vtk matrix, or a SciPy
Rotation
instance.注釈
Although
RotationLike
inputs are accepted, no checks are done to verify that the transformation is actually a rotation. Therefore, any 3x3 transformation is acceptable.- must_be_finitebool, default:
True
Check
if all elements of the array are finite, i.e. notinfinity
and not Not a Number (NaN
).- name
str
, default: "Transform" エラーメッセージのバリデーションチェックに失敗した場合に使用する変数名.
- transform
- 戻り値:
np.ndarray
検証済みの3x3変換行列.
参考
validate_transform4x4
4x4変換の同様な関数 .
validate_array
汎用的な配列検証関数.