Fix some bogosities in geometric-function documentation: add an entry
authorTom Lane
Mon, 18 Jul 2005 22:34:14 +0000 (22:34 +0000)
committerTom Lane
Mon, 18 Jul 2005 22:34:14 +0000 (22:34 +0000)
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

index 25e37f80a20168a59e1a05aedba1365f961615ed..9fd6ed61f8eb3ddebd543d5d68f3fb786183cfe8 100644 (file)
@@ -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,
      boxpolygon, 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(lseglseg)
-        point
-        intersection
-        point(lseg '((-1,0),(1,0))', lseg '((-2,-2),(2,2))')
-       
        
         point(polygon)
         point