How this calculation works
Construct a regularized planar alpha shape from Delaunay triangles selected by a squared circumradius threshold.
Include Delaunay triangle t when R(t)²≤alpha; regularize by retaining the union of selected triangles.A worked example
Four square corners (0,0), (2,0), (2,2), (0,2) and center (1,1), with alpha 1.1, retain four triangles covering area 4.
Good to know
4–40 distinct planar points; alpha is a nonnegative squared radius up to 1e12. Regularized triangle union drops isolated vertices and edges. Deterministic cocircular insertion; pinching or unresolved boundary loops are rejected. Floating Delaunay and area diagnostics.
Reference: CGAL authors: regularized planar alpha shapes (opens in a new tab) ↗
A shape parameter changes what is filled
An alpha shape provides one way to turn an unorganized planar point cloud into a region. Unlike a convex hull, it can preserve concave gaps, disconnected components and holes at suitable parameter values. The result depends on a declared scale parameter, not on a unique shape implied by the points alone.
This page returns a regularized two-dimensional region. It keeps selected Delaunay triangles and their union, while isolated points and edges are dropped. That convention matters at small alpha values, where a nonregularized alpha complex can contain meaningful lower-dimensional pieces even though this page's filled region is empty.
Compare this with the Three dimensional convex hull calculator from point coordinates. Construct an alpha-dependent nonconvex point-cloud region and its boundary loops, rather than always fill the convex hull.
Squared radius rather than ordinary radius
The input alpha is the squared circumradius threshold. A triangle is retained when its circumcircle radius squared does not exceed alpha. Entering a desired radius directly therefore uses the wrong scale unless it happens to equal its own square; convert a physical length threshold deliberately.
If coordinates are measured in meters, alpha is measured in square meters. Scaling the coordinates by a factor requires multiplying alpha by the square of that factor. Translating or rotating the same points should leave triangle-selection geometry and total area unchanged within the stated numerical domain.
The square-and-center example
The default cloud has four corners of a two-by-two square and its center. Its Delaunay triangulation contains four triangles meeting at that center. Each has area one and squared circumradius one, so an alpha value of one-point-one retains all four.
The resulting regularized shape has area four, one connected component and no hole. Lowering alpha below one removes all of those triangular faces and produces an empty filled region in this convention. The five observed points still exist as input, but they are not counted as positive-area material.
From Delaunay faces to a region
A deterministic incremental triangulation is built after coordinates are normalized for scale. Every finite triangle is checked for an empty circumcircle against the remaining sites. Its circumradius is then compared with the threshold, and the selected triangles become the candidate filled region.
An internal edge of that region belongs to two retained triangles, while a boundary edge belongs to one. The directed boundary edges are joined into loops. Their orientations distinguish outer boundaries from holes and make the signed sum of loop areas comparable with the sum of selected triangle areas.
Reading components, holes and triangles
The returned triangle count is not the number of disconnected pieces. Several triangles can form one component, and a ring of triangles can surround a hole. The component and hole fields describe the reconstructed boundary loops under the regularized nonpinching convention.
Triangle indices refer to the original point list, making the finite construction inspectable. A very large alpha should approach the convex hull region, while a smaller value can remove long-span faces. No statistical confidence is attached to that threshold choice: alpha is a geometric modeling parameter you supply.
Cocircular sites and numerical ambiguity
When four or more sites share a circumcircle, a Delaunay diagonal need not be unique. The implementation uses a deterministic insertion convention instead of pretending that the triangulation is uniquely determined. A completed regularized region must still pass empty-circle, incidence and boundary-area consistency checks.
Pinching boundaries, where components touch at an isolated vertex and do not define separate simple loops, are rejected by this interface. Extremely close sites and unresolved near-collinear configurations are also unsupported. A failure is not evidence that the mathematical alpha complex does not exist; it indicates the chosen representation cannot be certified here.
Choosing a scale responsibly
Inspect several threshold values rather than treating one attractive outline as recovered ground truth. A gap caused by sparse sampling can resemble a genuine hole, and increasing alpha can bridge unrelated clusters. The same point cloud can support several useful regions depending on the intended application.
For validation, compare the largest-alpha answer with an independently computed convex hull and verify that retained triangle area agrees with signed loop area. This calculator does not infer a noise distribution, optimize alpha automatically or reconstruct a smooth boundary between samples. It exposes a bounded piecewise-linear scale-dependent construction.
A few questions, answered
Is alpha the radius?
No. This interface uses squared radius, so its unit is the square of the coordinate unit.
Why can the result be empty despite existing points?
Regularization drops isolated vertices and edges; only retained triangles contribute a filled region.
Can the result have holes?
Yes, when the selected triangle union forms valid nonpinching boundary loops around empty regions.
Is a Delaunay diagonal unique for cocircular sites?
Not necessarily. A deterministic tie convention is used, and the resulting region must pass consistency checks.