diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index 628fbef..bb32314 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -7677,6 +7677,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
Return Type
Description
Example
+ Result
@@ -7685,60 +7686,70 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
double precision
area
area(box '((0,0),(1,1))')
+ 1
center(object>)
point
center
center(box '((0,0),(1,2))')
+ (0.5,1)
diameter(circle>)
double precision
diameter of circle
diameter(circle '((0,0),2.0)')
+ 4
height(box>)
double precision
vertical size of box
height(box '((0,0),(1,1))')
+ 1
isclosed(path>)
boolean
a closed path?
isclosed(path '((0,0),(1,1),(2,0))')
+ true
isopen(path>)
boolean
an open path?
isopen(path '[(0,0),(1,1),(2,0)]')
+ true
length(object>)
double precision
length
length(path '((-1,0),(1,0))')
+ 4
npoints(path>)
int
number of points
npoints(path '[(0,0),(1,1),(2,0)]')
+ 3
npoints(polygon>)
int
number of points
npoints(polygon '((1,1),(0,0))')
+ 2
pclose(path>)
path
convert path to closed
pclose(path '[(0,0),(1,1),(2,0)]')
+ ((0,0),(1,1),(2,0))
@@ -7747,6 +7758,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
point
intersection
point(lseg '((-1,0),(1,0))',lseg '((-2,-2),(2,2))')
+
]]>
@@ -7754,18 +7766,21 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
path
convert path to open
popen(path '((0,0),(1,1),(2,0))')
+ [(0,0),(1,1),(2,0)]
radius(circle)
double precision
radius of circle
radius(circle '((0,0),2.0)')
+ 2
width(box>)
double precision
horizontal size of box
width(box '((0,0),(1,1))')
+ 1
@@ -7780,6 +7795,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
Return Type
Description
Example
+ Result
@@ -7793,18 +7809,21 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
box
circle to box
box(circle '((0,0),2.0)')
+ (1.41421356237309,1.41421356237309),(-1.41421356237309,-1.41421356237309)
box(point, point)
box
points to box
box(point '(0,0)', point '(1,1)')
+ (1,1),(0,0)
box(polygon)
box
polygon to box
box(polygon '((0,0),(1,1),(2,0))')
+ (2,1),(0,0)
@@ -7816,18 +7835,21 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
circle
box to circle
circle(box '((0,0),(1,1))')
+ <(0.5,0.5),0.707106781186548>
circle(point, double precision)
circle
center and radius to circle
circle(point '(0,0)', 2.0)
+ <(0,0),2>
circle(polygon)
circle
polygon to circle
circle(polygon '((0,0),(1,1),(2,0))')
+ <(1,0.333333333333333),0.924950591148529>
@@ -7839,12 +7861,14 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
lseg
box diagonal to line segment
lseg(box '((-1,0),(1,0))')
+ [(1,0),(-1,0)]
lseg(point, point)
lseg
points to line segment
lseg(point '(-1,0)', point '(1,0)')
+ [(-1,0),(1,0)]
@@ -7856,6 +7880,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
point
polygon to path
path(polygon '((0,0),(1,1),(2,0))')
+ ((0,0),(1,1),(2,0))
@@ -7868,30 +7893,35 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
point
construct point
point(23.4, -44.5)
+ (23.4,-44.5)
point(box)
point
center of box
point(box '((-1,0),(1,0))')
+ (0,0)
point(circle)
point
center of circle
point(circle '((0,0),2.0)')
+ (0,0)
point(lseg)
point
center of line segment
point(lseg '((-1,0),(1,0))')
+ (0,0)
point(polygon)
point
center of polygon
point(polygon '((0,0),(1,1),(2,0))')
+ (1,0.333333333333333)
@@ -7903,24 +7933,40 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
polygon
box to 4-point polygon
polygon(box '((0,0),(1,1))')
+ ((0,0),(0,1),(1,1),(1,0))
polygon(circle)
polygon
circle to 12-point polygon
polygon(circle '((0,0),2.0)')
+
+
+ ((-2,0),(-1.73205080756888,1),(-1,1.73205080756888),(-1.22464679914735e-16,2),(1,1.73205080756888),
+ (1.73205080756888,1),(2,2.44929359829471e-16),(1.73205080756888,-1),(1,-1.73205080756888),
+ (3.67394039744206e-16,-2),(-0.999999999999999,-1.73205080756888),(-1.73205080756888,-1))
+
+
polygon(npts, circle)
polygon
circle to npts-point polygon
polygon(12, circle '((0,0),2.0)')
+
+
+ ((-2,0),(-1.73205080756888,1),(-1,1.73205080756888),(-1.22464679914735e-16,2),(1,1.73205080756888),
+ (1.73205080756888,1),(2,2.44929359829471e-16),(1.73205080756888,-1),(1,-1.73205080756888),
+ (3.67394039744206e-16,-2),(-0.999999999999999,-1.73205080756888),(-1.73205080756888,-1))
+
+
polygon(path)
polygon
path to polygon
polygon(path '((0,0),(1,1),(2,0))')
+ ((0,0),(1,1),(2,0))