pyvista.PolyData.point_normals#

property PolyData.point_normals: pyvista_ndarray[source]#

Return the point normals.

The active point normals are returned if they exist. Otherwise, they are computed with compute_normals() using the default options.

Returns:
pyvista.pyvista_ndarray

Array of point normals.

Examples

>>> 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)