]> granicus.if.org Git - postgis/commitdiff
Remove orphaned pglwgeom function pglwgeom_compute_serialized_box3d
authorPaul Ramsey <pramsey@cleverelephant.ca>
Wed, 26 Oct 2011 23:21:05 +0000 (23:21 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Wed, 26 Oct 2011 23:21:05 +0000 (23:21 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8009 b70326c6-7e19-0410-871a-916f4a2858ee

libpgcommon/lwgeom_pg.c
libpgcommon/lwgeom_pg.h

index c198f54839996bf9d5250908e30f59c2a8e15ff1..606d5aeef3d7a7e2ea6020d9d2b11203ad5c738a 100644 (file)
@@ -297,19 +297,6 @@ int pglwgeom_getbox2d_p(const PG_LWGEOM *geom, BOX2DFLOAT4 *box)
        return ret;
 }
 
-BOX3D *pglwgeom_compute_serialized_box3d(const PG_LWGEOM *geom)
-{
-       lwerror("pglwgeom_compute_serialized_box3d called!");
-       return NULL;
-}
-
-int pglwgeom_compute_serialized_box3d_p(const PG_LWGEOM *geom, BOX3D *box3d)
-{
-       lwerror("pglwgeom_compute_serialized_box3d_p called!");
-       return 0;
-}
-
-
 int
 pglwgeom_is_empty(const PG_LWGEOM *geom)
 {
index c2303d9caf200bc0a1c43e4862e6f7d76f737fc1..6ef3e3d2f9d2d78976b2e700ad97285e43b76fba 100644 (file)
@@ -152,8 +152,6 @@ extern int pglwgeom_is_empty(const PG_LWGEOM *geom);
  * Return LW_FALSE if the geometry has no bounding box (ie: is empty).
  */
 extern int pglwgeom_getbox2d_p(const PG_LWGEOM *geom, BOX2DFLOAT4 *box);
-extern BOX3D *pglwgeom_compute_serialized_box3d(const PG_LWGEOM *geom);
-extern int pglwgeom_compute_serialized_box3d_p(const PG_LWGEOM *geom, BOX3D *box3d);
 extern char is_worth_caching_pglwgeom_bbox(const PG_LWGEOM *);
 
 /* PG-dependant */
@@ -197,7 +195,6 @@ Datum BOX2D_union(PG_FUNCTION_ARGS);
 
 Datum LWGEOM_same(PG_FUNCTION_ARGS);
 Datum BOX3D_construct(PG_FUNCTION_ARGS);
-Datum BOX2DFLOAT4_ymin(PG_FUNCTION_ARGS);
 
 Datum LWGEOM_force_2d(PG_FUNCTION_ARGS);
 Datum LWGEOM_force_3dm(PG_FUNCTION_ARGS);