caliper edit page

Calliper (Feret diameter) of a grain in measurement units, the projection length normal to it and its direction/trend.

Syntax

c = caliper(grains,omega)
cV = caliper(grains,'shortest')
cV = caliper(grains,'longest')

Input

grains grain2d

Output

c caliper at angle |omega|
cV vector3d, norm(cV) is the length

Options

shortest shortest caliper
longest longest caliper = diameter of the grain