CG_ConstrainedDelaunayTriangles — 返回围绕给定输入几何体的约束 Delaunay 三角剖分。
geometry CG_ConstrainedDelaunayTriangles(
geometry g1)
;
CG_ConstrainedDelaunayTriangles is deprecated as of 3.5.0. Use CG_ConstrainedDelaunayTriangles instead. |
返回围绕输入几何体顶点的约束 Delaunay 三角剖分。 输出是 TIN。
该方法需要SFCGAL后端。
可用性:3.0.0
该函数支持 3d 并且不会丢失 z-index。
select CG_ConstrainedDelaunayTriangles( ST_Union( 'POLYGON((175 150, 20 40, 50 60, 125 100, 175 150))'::geometry, ST_Buffer('POINT(110 170)'::geometry, 20) ) );
|
select ST_DelaunayTriangles( ST_Union( 'POLYGON((175 150, 20 40, 50 60, 125 100, 175 150))'::geometry, ST_Buffer('POINT(110 170)'::geometry, 20) ) );
|