segLength

(method of grainBoundary)

length of a boundary segment

Syntax

l = segLength(gB,'param1',val1,'param2',val2)

Input

gb

grainBoundary

Output

l

length of the boundary segments