From: Regina Obe Date: Tue, 3 Jul 2012 15:45:01 +0000 (+0000) Subject: some examples of delaunay triangles X-Git-Tag: 2.1.0beta2~841 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=93f47853273f76cced7affc715806aebf8a7ec91;p=postgis some examples of delaunay triangles git-svn-id: http://svn.osgeo.org/postgis/trunk@10010 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/html/image_src/Makefile.in b/doc/html/image_src/Makefile.in index 606b03355..b4f7cef5a 100644 --- a/doc/html/image_src/Makefile.in +++ b/doc/html/image_src/Makefile.in @@ -56,6 +56,8 @@ IMAGES= \ ../images/st_crosses02.png \ ../images/st_crosses03.png \ ../images/st_crosses04.png \ + ../images/st_delaunaytriangles02.png \ + ../images/st_delaunaytriangles03.png \ ../images/st_difference01.png \ ../images/st_dumppoints01.png \ ../images/st_issimple01.png \ diff --git a/doc/reference_processing.xml b/doc/reference_processing.xml index eb7fdced9..a89446cc4 100644 --- a/doc/reference_processing.xml +++ b/doc/reference_processing.xml @@ -905,6 +905,54 @@ togheter. Availability: 2.1.0 - requires GEOS >= 3.4.0. + + Examples + + + + + + + + + + ST_DelaunayTriangles of 2 polygons overlaid with delaunay triangle polygons + + + +-- geometries overlaid multilinestring triangles +SELECT + ST_DelaunayTriangles( + ST_Union(ST_GeomFromText('POLYGON((175 150, 20 40, + 50 60, 125 100, 175 150))'), + ST_Buffer(ST_GeomFromText('POINT(110 170)'), 20) + )) + As dtriag; + + + + + + + + -- geometries overlaid with multilinestring representation of delaunay triangles + + + +SELECT + ST_DelaunayTriangles( + ST_Union(ST_GeomFromText('POLYGON((175 150, 20 40, + 50 60, 125 100, 175 150))'), + ST_Buffer(ST_GeomFromText('POINT(110 170)'), 20) + ),0.001,1) + As dtriag; + + + + + + + See Also