centroid edit page

barycenters of the grains

Syntax

c = grains.centroid

Input

grains grain2d

Output

c vector3d

See also

grain2d.fitEllipse