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_ndarrayArray of point normals.
Examples#
Download Python source code | Download Jupyter notebook
>>> 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]],
shape=(842, 3), dtype=float32)