X-Git-Url: http://pileus.org/git/?p=grits;a=blobdiff_plain;f=src%2Fgis-util.h;h=ccc75585ad702a7b9f9730e189dc87a5c84c2da5;hp=1b03f2fa578ff1c314b8f6d9886c1a98dbe56d21;hb=e4de9d051f0f61a2f0eaa97e631bc7b891dc2eaf;hpb=7fd905b9f8a19f6c021c7fa754c1e35e6abd4141 diff --git a/src/gis-util.h b/src/gis-util.h index 1b03f2f..ccc7558 100644 --- a/src/gis-util.h +++ b/src/gis-util.h @@ -159,13 +159,13 @@ struct _GisPoint { void gis_point_set_lle(GisPoint *point, gdouble lat, gdouble lon, gdouble elev); -/* GisBBox */ -typedef struct _GisBBox GisBBox; -struct _GisBBox { +/* GisBounds */ +typedef struct _GisBounds GisBounds; +struct _GisBounds { gdouble n, s, e, w; }; -void gis_bbox_set_bounds(GisBBox *bbox, +void gis_bounds_set_bounds(GisBounds *bounds, gdouble n, gdouble s, gdouble e, gdouble w);