Skip to content

Commit 4de12d4

Browse files
committed
Add docs for a couple of formerly-undocumented geometric conversion functions.
1 parent 9d58b96 commit 4de12d4

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

doc/src/sgml/func.sgml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.235 2005/01/22 22:56:35 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.236 2005/01/26 20:42:19 tgl Exp $
33
PostgreSQL documentation
44
-->
55

@@ -6096,7 +6096,7 @@ SELECT TIMESTAMP 'now';
60966096
<row>
60976097
<entry><literal><function>circle</function>(<type>point</type>, <type>double precision</type>)</literal></entry>
60986098
<entry><type>circle</type></entry>
6099-
<entry>point and radius to circle</entry>
6099+
<entry>center and radius to circle</entry>
61006100
<entry><literal>circle(point '(0,0)', 2.0)</literal></entry>
61016101
</row>
61026102
<row>
@@ -6117,12 +6117,31 @@ SELECT TIMESTAMP 'now';
61176117
<entry>polygon to path</entry>
61186118
<entry><literal>path(polygon '((0,0),(1,1),(2,0))')</literal></entry>
61196119
</row>
6120+
<row>
6121+
<entry><literal><function>point</function>(<type>double
6122+
precision</type>, <type>double precision</type>)</literal></entry>
6123+
<entry><type>point</type></entry>
6124+
<entry>construct point</entry>
6125+
<entry><literal>point(23.4, -44.5)</literal></entry>
6126+
</row>
6127+
<row>
6128+
<entry><literal><function>point</function>(<type>box</type>)</literal></entry>
6129+
<entry><type>point</type></entry>
6130+
<entry>center of box</entry>
6131+
<entry><literal>point(box '((-1,0),(1,0))')</literal></entry>
6132+
</row>
61206133
<row>
61216134
<entry><literal><function>point</function>(<type>circle</type>)</literal></entry>
61226135
<entry><type>point</type></entry>
61236136
<entry>center of circle</entry>
61246137
<entry><literal>point(circle '((0,0),2.0)')</literal></entry>
61256138
</row>
6139+
<row>
6140+
<entry><literal><function>point</function>(<type>lseg</type>)</literal></entry>
6141+
<entry><type>point</type></entry>
6142+
<entry>center of lseg</entry>
6143+
<entry><literal>point(lseg '((-1,0),(1,0))')</literal></entry>
6144+
</row>
61266145
<row>
61276146
<entry><literal><function>point</function>(<type>lseg</type>, <type>lseg</type>)</literal></entry>
61286147
<entry><type>point</type></entry>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy