[SCM] PostGIS branch master updated. 3.5.0-75-gd679fd060

git at osgeo.org git at osgeo.org
Mon Nov 18 13:57:02 PST 2024


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  d679fd0606c8f7f54f7e5b43cdf5c6ad77316693 (commit)
      from  f0d1ee2d6146286c450abb7d37074cd3eb45872d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d679fd0606c8f7f54f7e5b43cdf5c6ad77316693
Author: Regina Obe <lr at pcorp.us>
Date:   Mon Nov 18 16:56:57 2024 -0500

    Add images for 3d buffer

diff --git a/doc/html/images/static/cg_3dbuffer01-8.png b/doc/html/images/static/cg_3dbuffer01-8.png
new file mode 100644
index 000000000..2b46af497
Binary files /dev/null and b/doc/html/images/static/cg_3dbuffer01-8.png differ
diff --git a/doc/html/images/static/cg_3dbuffer01.png b/doc/html/images/static/cg_3dbuffer01.png
new file mode 100644
index 000000000..e681ad703
Binary files /dev/null and b/doc/html/images/static/cg_3dbuffer01.png differ
diff --git a/doc/html/images/static/cg_3dbuffer02.png b/doc/html/images/static/cg_3dbuffer02.png
new file mode 100644
index 000000000..6ac892f76
Binary files /dev/null and b/doc/html/images/static/cg_3dbuffer02.png differ
diff --git a/doc/html/images/static/cg_3dbuffer03.png b/doc/html/images/static/cg_3dbuffer03.png
new file mode 100644
index 000000000..0bdd24d27
Binary files /dev/null and b/doc/html/images/static/cg_3dbuffer03.png differ
diff --git a/doc/html/images/static/cg_3dbuffer04.png b/doc/html/images/static/cg_3dbuffer04.png
new file mode 100644
index 000000000..edb98b33a
Binary files /dev/null and b/doc/html/images/static/cg_3dbuffer04.png differ
diff --git a/doc/reference_sfcgal.xml b/doc/reference_sfcgal.xml
index 00a6e4698..2f7711621 100644
--- a/doc/reference_sfcgal.xml
+++ b/doc/reference_sfcgal.xml
@@ -3074,10 +3074,80 @@ ST_GeomFromText('POLYHEDRALSURFACE Z( ((0 0 0, 0 0 1, 0 1 1, 0 1 0, 0 0 0)),
        <title>Examples</title>
        <programlisting>SELECT ST_AsText(CG_Buffer3D('POINT(0 0 0)', 1, 8, 0));
 -- Result: POLYHEDRALSURFACE Z (((0 0 1, 0.5 -0.5 0.71, 0 -0.71 0.71, 0 0 1)), ... )</programlisting>
+
+       <para>The following images were rendered pasting the output of the ST_AsX3D query into <link xlink:href="https://postgis.net/docs/support/viewers/x3d_viewer.htm">X3D Viewer</url>.</para>
+       <programlisting><![CDATA[SELECT string_agg('<Shape>' || ST_AsX3D(cgbuffer3d_output)  || '<Appearance>
+          <Material diffuseColor="0 0.8 0.2" specularColor="0 1 0"/>
+        </Appearance>
+    </Shape>', '');]]></programlisting> 
+    <informaltable>
+                <tgroup cols="2">
+                <tbody>
+                    <row>
+                    <entry><para><informalfigure>
+                        <mediaobject>
+                            <imageobject>
+                            <imagedata fileref="images/cg_3dbuffer01.png"/>
+                            </imageobject>
+                            <caption><para>segments=32 (rounded buffer)</para></caption>
+                        </mediaobject>
+                        </informalfigure>
+            <programlisting>SELECT CG_Buffer3D(ST_GeomFromText('POINT(100 90)'), 50,32,0);</programlisting>
+                        </para></entry>
+
+                    <entry><para><informalfigure>
+                        <mediaobject>
+                            <imageobject>
+                            <imagedata fileref="images/cg_3dbuffer02.png"/>
+                            </imageobject>
+                            <caption><para>5 segments rounded</para></caption>
+                        </mediaobject>
+                        </informalfigure>
+            <programlisting>SELECT CG_Buffer3D(
+ ST_GeomFromText('POINT(100 90)'),
+ 50,5,0);
+            </programlisting>
+                    </para></entry>
+                    </row>
+                    <row>
+                    <entry><para><informalfigure>
+                        <mediaobject>
+                            <imageobject>
+                            <imagedata fileref="images/cg_3dbuffer03.png"/>
+                            </imageobject>
+                            <caption><para>32 segments, round</para></caption>
+                        </mediaobject>
+                        </informalfigure>
+            <programlisting>SELECT CG_Buffer3D(
+  ST_GeomFromText(
+    'LINESTRING(50 50,150 150,150 50)'
+    ),
+ 10,32,0);
+            </programlisting>
+                        </para></entry>
+                        <entry><para><informalfigure>
+                        <mediaobject>
+                            <imageobject>
+                            <imagedata fileref="images/cg_3dbuffer04.png"/>
+                            </imageobject>
+                            <caption><para>32 segments, square</para></caption>
+                        </mediaobject>
+                        </informalfigure>
+            <programlisting>SELECT CG_Buffer3D(
+  ST_GeomFromText(
+    'LINESTRING(50 50,150 150,150 50)'
+    ),
+ 10,32,2);
+            </programlisting>
+                        </para></entry>
+    </row>
+    </tbody>
+    </tgroup>
+    </informaltable>
    </refsection>
    <refsection>
        <title>See Also</title>
-       <para><xref linkend="ST_Buffer"/>, <xref linkend="ST_3DConvexHull"/></para>
+       <para><xref linkend="ST_Buffer"/>, <xref linkend="ST_3DConvexHull"/>, <xref linkend="ST_AsX3D" /></para>
    </refsection>
 </refentry>
 

-----------------------------------------------------------------------

Summary of changes:
 doc/html/images/static/cg_3dbuffer01-8.png | Bin 0 -> 8023 bytes
 doc/html/images/static/cg_3dbuffer01.png   | Bin 0 -> 20902 bytes
 doc/html/images/static/cg_3dbuffer02.png   | Bin 0 -> 3925 bytes
 doc/html/images/static/cg_3dbuffer03.png   | Bin 0 -> 17436 bytes
 doc/html/images/static/cg_3dbuffer04.png   | Bin 0 -> 7944 bytes
 doc/reference_sfcgal.xml                   |  72 ++++++++++++++++++++++++++++-
 6 files changed, 71 insertions(+), 1 deletion(-)
 create mode 100644 doc/html/images/static/cg_3dbuffer01-8.png
 create mode 100644 doc/html/images/static/cg_3dbuffer01.png
 create mode 100644 doc/html/images/static/cg_3dbuffer02.png
 create mode 100644 doc/html/images/static/cg_3dbuffer03.png
 create mode 100644 doc/html/images/static/cg_3dbuffer04.png


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list