npoints expression function

Returns the number of points in a geometry.

Usage

npoints(surface_node)

Returns -1 if the surface node cannot be cooked.