createContour
Creates an alpha shape without holes
Return
A closed ShapeContour representing the alpha shape, or ShapeContour.EMPTY if the alpha shape cannot be represented by a closed ShapeContour (e.g. because it consists of multiple disconnected components).
Parameters
alpha
The alpha parameter from the mathematical definition of an alpha shape. If alpha is 0.0 the alpha shape consists only of the set of input points, yielding ShapeContour.EMPTY. As alpha goes to infinity, the alpha shape becomes equal to the convex hull of the input points.
Returns a closed ShapeContour representing an alpha shape without holes; the smallest alpha is chosen such that the corresponding alpha shape contains all input points and can be represented by a closed ShapeContour.