diameter

(method of grain2d)

diameter of a grain in measurement units longest distance between any two vertices of the grain boundary

Syntax

[d] = diameter(grains)