]> granicus.if.org Git - postgis/commitdiff
gridspec should be internal
authorPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 23 Jul 2015 19:07:13 +0000 (19:07 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 23 Jul 2015 19:07:13 +0000 (19:07 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@13847 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/liblwgeom.h.in
liblwgeom/liblwgeom_internal.h

index 54a88a9d5faad3729f2f37423ef374df08ce7fbd..ad315f5403e9f695f007bc0451edb6f8288d16b0 100644 (file)
@@ -563,22 +563,6 @@ typedef struct
 }
 LWTIN;
 
-/**
-* Snap-to-grid Support
-*/
-typedef struct gridspec_t
-{
-       double ipx;
-       double ipy;
-       double ipz;
-       double ipm;
-       double xsize;
-       double ysize;
-       double zsize;
-       double msize;
-}
-gridspec;
-
 /* Casts LWGEOM->LW* (return NULL if cast is illegal) */
 extern LWMPOLY *lwgeom_as_lwmpoly(const LWGEOM *lwgeom);
 extern LWMLINE *lwgeom_as_lwmline(const LWGEOM *lwgeom);
index 68f8b6993a5d1dfb9c945ed41f0ef2c5af71f04f..efaf813a42ad6f3b79903651018ad47ed6c51a81 100644 (file)
@@ -363,6 +363,23 @@ int lwtin_is_closed(const LWTIN *tin);
 /**
 * Snap to grid
 */
+
+/**
+* Snap-to-grid Support
+*/
+typedef struct gridspec_t
+{
+       double ipx;
+       double ipy;
+       double ipz;
+       double ipm;
+       double xsize;
+       double ysize;
+       double zsize;
+       double msize;
+}
+gridspec;
+
 LWGEOM* lwgeom_grid(const LWGEOM *lwgeom, const gridspec *grid);
 LWCOLLECTION* lwcollection_grid(const LWCOLLECTION *coll, const gridspec *grid);
 LWPOINT* lwpoint_grid(const LWPOINT *point, const gridspec *grid);