coords.Coords.n_points#

Coords.n_points()#

Return the total number of points in the Coords.

Notes#

n_points and n_coords are equivalent. The latter exists to provide a common interface with other geometry classes.

Examples#

>>> Coords(np.arange(12).reshape(2,1,2,3)).n_points()
4