Name

ST_StraightSkeleton — Calcule um esqueleto em linha reta de uma geometria

Synopsis

geometry ST_StraightSkeleton(geometry geom);

Descrição

[Warning]

ST_StraightSkeleton is deprecated as of 3.5.0. Use CG_StraightSkeleton instead.

Disponibilidade: 2.1.0

This method needs SFCGAL backend.

This function supports 3d and will not drop the z-index.

This function supports Polyhedral surfaces.

This function supports Triangles and Triangulated Irregular Network Surfaces (TIN).

Exemplos

SELECT ST_StraightSkeleton(ST_GeomFromText('POLYGON (( 190 190, 10 190, 10 10, 190 10, 190 20, 160 30, 60 30, 60 130, 190 140, 190 190 ))'));

Polígono original

Esqueleto reto de polígono