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,dir)
cV = caliper(grains,'shortest')
cV = caliper(grains,'longest')

Input

grains grain2d
dir vector3d

Output

c caliper at direction |dir|
cV vector3d, norm(cV) is the length

Options

shortest shortest caliper
longest longest caliper = diameter of the grain