Name

ST_StraightSkeleton — 도형으로부터 직선 골격(straight skeleton)을 계산합니다.

Synopsis

geometry ST_StraightSkeleton(geometry geom);

설명

[Warning]

ST_StraightSkeleton is deprecated as of 3.5.0. Use CG_StraightSkeleton instead.

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).

예시

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 ))'));

원본 폴리곤

폴리곤의 직선 골격