shapeFactor edit page

calculates the shape factor 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 shape factor

See also

polygon.aspectRatio polygon.equivalentPerimeter polygon.perimeter