From 37464a0326167ad57e54eb8aab2ae1f553252c39 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 18 Jul 2005 22:34:14 +0000 Subject: [PATCH] Fix some bogosities in geometric-function documentation: add an entry for circle(polygon), which was missing; remove bogus entry for point(lseg, lseg), which does not exist, and the documentation seemed to describe lseg_interpt, which we already document as an operator not a function. Also remove entry for box_intersect, which likewise is preferentially used via the operator #. --- doc/src/sgml/func.sgml | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 25e37f80a2..9fd6ed61f8 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -1,5 +1,5 @@ @@ -5886,7 +5886,8 @@ SELECT TIMESTAMP 'now'; -- incorrect for use with DEFAULT Note that the same as operator, ~=, represents the usual notion of equality for the point, box, polygon, and circle types. - Some of these types also have an = operator, but it compares + Some of these types also have an = operator, but + = compares for equal areas only. The other scalar comparison operators (<= and so on) likewise compare areas for these types. @@ -6081,12 +6082,6 @@ SELECT TIMESTAMP 'now'; -- incorrect for use with DEFAULT area area(box '((0,0),(1,1))') - - box_intersect(box, box) - box - intersection box - box_intersect(box '((0,0),(1,1))',box '((0.5,0.5),(2,2))') - center(object) point @@ -6215,6 +6210,12 @@ SELECT TIMESTAMP 'now'; -- incorrect for use with DEFAULT center and radius to circle circle(point '(0,0)', 2.0) + + circle(polygon) + circle + polygon to circle + circle(polygon '((0,0),(1,1),(2,0))') + lseg(box) lseg @@ -6258,12 +6259,6 @@ SELECT TIMESTAMP 'now'; -- incorrect for use with DEFAULT center of lseg point(lseg '((-1,0),(1,0))') - - point(lseg, lseg) - point - intersection - point(lseg '((-1,0),(1,0))', lseg '((-2,-2),(2,2))') - point(polygon) point