]> granicus.if.org Git - postgis/commitdiff
remove inaccurate comments (the tests are always performed, and we're calculating...
authorDaniel Baston <dbaston@gmail.com>
Sun, 22 Nov 2015 14:26:47 +0000 (14:26 +0000)
committerDaniel Baston <dbaston@gmail.com>
Sun, 22 Nov 2015 14:26:47 +0000 (14:26 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@14416 b70326c6-7e19-0410-871a-916f4a2858ee

postgis/lwgeom_geos.c

index 576f91040fe32e5aca9a555524a0dd2894cd6bd1..4194ac0ce1188bf55fbdcc41ccd815b59db5f0f0 100644 (file)
@@ -1946,7 +1946,6 @@ Datum overlaps(PG_FUNCTION_ARGS)
        /*
         * short-circuit 1: if geom2 bounding box does not overlap
         * geom1 bounding box we can prematurely return FALSE.
-        * Do the test IFF BOUNDING BOX AVAILABLE.
         */
        if ( gserialized_get_gbox_p(geom1, &box1) &&
                gserialized_get_gbox_p(geom2, &box2) )
@@ -2021,7 +2020,6 @@ Datum contains(PG_FUNCTION_ARGS)
        /*
        ** short-circuit 1: if geom2 bounding box is not completely inside
        ** geom1 bounding box we can prematurely return FALSE.
-       ** Do the test IFF BOUNDING BOX AVAILABLE.
        */
        if ( gserialized_get_gbox_p(geom1, &box1) &&
                gserialized_get_gbox_p(geom2, &box2) )
@@ -2156,7 +2154,6 @@ Datum containsproperly(PG_FUNCTION_ARGS)
        /*
        * short-circuit: if geom2 bounding box is not completely inside
        * geom1 bounding box we can prematurely return FALSE.
-       * Do the test IFF BOUNDING BOX AVAILABLE.
        */
        if ( gserialized_get_gbox_p(geom1, &box1) &&
                gserialized_get_gbox_p(geom2, &box2) )
@@ -2245,7 +2242,6 @@ Datum covers(PG_FUNCTION_ARGS)
        /*
         * short-circuit 1: if geom2 bounding box is not completely inside
         * geom1 bounding box we can prematurely return FALSE.
-        * Do the test IFF BOUNDING BOX AVAILABLE.
         */
        if ( gserialized_get_gbox_p(geom1, &box1) &&
                gserialized_get_gbox_p(geom2, &box2) )
@@ -2399,7 +2395,6 @@ Datum coveredby(PG_FUNCTION_ARGS)
        /*
         * short-circuit 1: if geom1 bounding box is not completely inside
         * geom2 bounding box we can prematurely return FALSE.
-        * Do the test IFF BOUNDING BOX AVAILABLE.
         */
        if ( gserialized_get_gbox_p(geom1, &box1) &&
                gserialized_get_gbox_p(geom2, &box2) )
@@ -2519,7 +2514,6 @@ Datum crosses(PG_FUNCTION_ARGS)
        /*
         * short-circuit 1: if geom2 bounding box does not overlap
         * geom1 bounding box we can prematurely return FALSE.
-        * Do the test IFF BOUNDING BOX AVAILABLE.
         */
        if ( gserialized_get_gbox_p(geom1, &box1) &&
                gserialized_get_gbox_p(geom2, &box2) )
@@ -2592,7 +2586,6 @@ Datum geos_intersects(PG_FUNCTION_ARGS)
        /*
         * short-circuit 1: if geom2 bounding box does not overlap
         * geom1 bounding box we can prematurely return FALSE.
-        * Do the test IFF BOUNDING BOX AVAILABLE.
         */
        if ( gserialized_get_gbox_p(geom1, &box1) &&
                gserialized_get_gbox_p(geom2, &box2) )
@@ -2749,7 +2742,6 @@ Datum touches(PG_FUNCTION_ARGS)
        /*
         * short-circuit 1: if geom2 bounding box does not overlap
         * geom1 bounding box we can prematurely return FALSE.
-        * Do the test IFF BOUNDING BOX AVAILABLE.
         */
        if ( gserialized_get_gbox_p(geom1, &box1) &&
                gserialized_get_gbox_p(geom2, &box2) )
@@ -2817,7 +2809,6 @@ Datum disjoint(PG_FUNCTION_ARGS)
        /*
         * short-circuit 1: if geom2 bounding box does not overlap
         * geom1 bounding box we can prematurely return TRUE.
-        * Do the test IFF BOUNDING BOX AVAILABLE.
         */
        if ( gserialized_get_gbox_p(geom1, &box1) &&
                gserialized_get_gbox_p(geom2, &box2) )