Name

ST_AlphaShape — Computes an Alpha-shape enclosing a geometry

Synopsis

geometry ST_AlphaShape(geometry geom, float alpha, boolean allow_holes = false);

Descripción

[Warning]

ST_AlphaShape is deprecated as of 3.5.0. Use CG_AlphaShape instead.

Computes the Alpha-Shape of the points in a geometry. An alpha-shape is a (usually) concave polygonal geometry which contains all the vertices of the input, and whose vertices are a subset of the input vertices. An alpha-shape provides a closer fit to the shape of the input than the shape produced by the convex hull.