From 9487fd9d477012a63a520e30ac14007b4cbfc716 Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Wed, 26 Oct 2011 23:21:05 +0000 Subject: [PATCH] Remove orphaned pglwgeom function pglwgeom_compute_serialized_box3d git-svn-id: http://svn.osgeo.org/postgis/trunk@8009 b70326c6-7e19-0410-871a-916f4a2858ee --- libpgcommon/lwgeom_pg.c | 13 ------------- libpgcommon/lwgeom_pg.h | 3 --- 2 files changed, 16 deletions(-) diff --git a/libpgcommon/lwgeom_pg.c b/libpgcommon/lwgeom_pg.c index c198f5483..606d5aeef 100644 --- a/libpgcommon/lwgeom_pg.c +++ b/libpgcommon/lwgeom_pg.c @@ -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) { diff --git a/libpgcommon/lwgeom_pg.h b/libpgcommon/lwgeom_pg.h index c2303d9ca..6ef3e3d2f 100644 --- a/libpgcommon/lwgeom_pg.h +++ b/libpgcommon/lwgeom_pg.h @@ -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); -- 2.50.0