pyvista.PolyData.point_normals#
- property PolyData.point_normals: pyvista_ndarray[ソース]#
ポイント法線を返します.
The active point normals are returned if they exist. Otherwise, they are computed with
compute_normals()
using the default options.- 戻り値:
pyvista.pyvista_ndarray
ポイントの法線の配列.
例
>>> import pyvista as pv >>> sphere = pv.Sphere() >>> sphere.point_normals pyvista_ndarray([[ 0. , 0. , 1. ], [ 0. , 0. , -1. ], [ 0.10811902, 0. , 0.99413794], ..., [ 0.31232402, -0.06638652, -0.9476532 ], [ 0.21027282, -0.04469487, -0.97662055], [ 0.10575636, -0.02247921, -0.99413794]], dtype=float32)