Index: pages/geopoly.in
==================================================================
--- pages/geopoly.in
+++ pages/geopoly.in
@@ -148,12 +148,12 @@
hd_fragment goverlap geopoly_overlap
## The geopoly_overlap(P1,P2) Function

If P1 and P2 are both polygons, then the geopoly_overlap(P1,P2) function returns
-true if there is any overlap between P1 and P2, or it returns false if P1 and P2
-completely disjoint.
+a non-zero integer if there is any overlap between P1 and P2, or it returns
+zero if P1 and P2 completely disjoint.
If either P1 or P2 is not a polygon, this routine returns NULL.

The geopoly_overlap(P1,P2) function is special in that the geopoly virtual
table knows how to use R*Tree indexes to optimize queries in which the
@@ -164,12 +164,13 @@
hd_fragment gwithin geopoly_within

## The geopoly_within(P1,P2) Function

If P1 and P2 are both polygons, then the geopoly_within(P1,P2) function returns
-true if P2 is completely contained within P1, or it returns false if any part of
-P2 is outside of P1. If P1 and P2 are the same polygon, this routine returns true.
+a non-zero integer if P2 is completely contained within P1, or it returns zero
+if any part of P2 is outside of P1. If P1 and P2 are the same polygon, this routine
+returns non-zero.
If either P1 or P2 is not a polygon, this routine returns NULL.

The geopoly_within(P1,P2) function is special in that the geopoly virtual
table knows how to use R*Tree indexes to optimize queries in which the
@@ -240,11 +241,12 @@
hd_fragment gpoint geopoly_constains_point

## The geopoly_contains_point(P,X,Y) Function

-If P is a polygon, then geopoly_contains_point(P,X,Y) returns true if and only
+If P is a polygon, then geopoly_contains_point(P,X,Y) returns a
+non-zero integer if and only
if the coordinate X,Y is inside or on the boundary of the polygon P.
If P is not a polygon, geopoly_contains_point(P,X,Y) returns NULL.
hd_fragment xform geopoly_xform

## The geopoly_xform(P,A,B,C,D,E,F) Function