View source: R/dist_blob_utils.R
polygon.convexity | R Documentation |
Calculate the convexity of a blob(polygon).
polygon.convexity(blob)
blob |
A polygon, for example the result of blob.boundary() |
Convexity is defined as the ratio of the area of a polygon to the area of its convex hull. A convex polygon thus has a convexity of 1.0.
The convexity of the polygon.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.