geometry size, but makes bounding-box based queries slower.</para>
</listitem>
</varlistentry>
-
-
- <varlistentry>
- <term>ST_SetPoint(linestring, N, point)</term>
-
- <listitem>
- <para>Replace point N of linestring with given point. Index is
- 0-based.</para>
-
- <para>Availability: 1.1.0</para>
- </listitem>
- </varlistentry>
-
+
<varlistentry>
<term>ST_Force_collection(geometry)</term>
</refsection>
<refsection>
<title>See Also</title>
- <para><xref linkend="ST_RemovePoint"/></para>
+ <para><xref linkend="ST_RemovePoint"/>, <xref linkend="ST_SetPoint" /></para>
</refsection>
</refentry>
-<refentry id="ST_Multi">
+ <refentry id="ST_Multi">
<refnamediv>
<refname>ST_Multi</refname>
<title>See Also</title>
<para><xref linkend="ST_AddPoint"/>, <xref linkend="ST_NPoints"/>, <xref linkend="ST_NumPoints"/></para>
</refsection>
- </refentry>
+ </refentry>
<refentry id="ST_Reverse">
<refnamediv>
LINESTRING(1 2,1 10) | LINESTRING(1 10,1 2)
</programlisting>
</refsection>
+ </refentry>
+
+ <refentry id="ST_SetPoint">
+ <refnamediv>
+ <refname>ST_SetPoint</refname>
+ <refpurpose>Replace point N of linestring with given point. Index is
+ 0-based.</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <funcsynopsis>
+ <funcprototype>
+ <funcdef>geometry <function>ST_AddPoint</function></funcdef>
+ <paramdef><type>geometry</type> <parameter>linestring</parameter></paramdef>
+ <paramdef><type>geometry</type> <parameter>point</parameter></paramdef>
+ </funcprototype>
+ </funcsynopsis>
+ <funcsynopsis>
+ <funcprototype>
+ <funcdef>geometry <function>ST_AddPoint</function></funcdef>
+ <paramdef><type>geometry</type> <parameter>linestring</parameter></paramdef>
+ <paramdef><type>geometry</type> <parameter>point</parameter></paramdef>
+ <paramdef><type>integer</type> <parameter>position</parameter></paramdef>
+ </funcprototype>
+ </funcsynopsis>
+ </refsynopsisdiv>
+
+ <refsection>
+ <title>Description</title>
+
+ <para>Replace point N of linestring with given point. Index is
+ 0-based.
+ This is especially useful in triggers when trying to maintain relationship of joints when one vertex moves.</para>
+ <para>Availability: 1.1.0</para>
+ </refsection>
+
+ <refsection>
+ <title>Examples</title>
+ <programlisting>
+<!-- TODO: Provide ST_SetPoint Example -->
+ </programlisting>
+ </refsection>
+ <refsection>
+ <title>See Also</title>
+ <para><xref linkend="ST_AddPoint"/>,<xref linkend="ST_RemovePoint"/></para>
+ </refsection>
</refentry>
+
<refentry id="ST_SetSRID">
<refnamediv>
<refname>ST_SetSRID</refname>