shapeFactor edit page

calculates the shapefactor of the grain-polygon, without Holes

define as

\[ F = \frac{P}{EP} \],

where \(P\) is the perimeter and \(EP\) is the equivalent perimeter.

Syntax

F = shapeFactor( grains )

Input

p grain2d

Output

F shapefactor

See also

polygon.aspectRatio polygon.equivalentPerimeter polygon.perimeter