]> granicus.if.org Git - postgis/commitdiff
updated some comments
authorSandro Santilli <strk@keybit.net>
Mon, 6 Sep 2004 16:18:17 +0000 (16:18 +0000)
committerSandro Santilli <strk@keybit.net>
Mon, 6 Sep 2004 16:18:17 +0000 (16:18 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@773 b70326c6-7e19-0410-871a-916f4a2858ee

lwgeom/lwgeom.h

index af2ae67a445f38b128286a5aa6db2e219f6a0379..c61aadc35431546a60006d88880782a5049180ee 100644 (file)
@@ -503,7 +503,10 @@ extern BOX3D *combine_boxes(BOX3D *b1, BOX3D *b2);
 // returns a real entity so it doesnt leak
 // if this has a pre-built BOX2d, then we use it,
 // otherwise we need to compute it.
+// WARNING! the EMPTY geom will result in a random BOX2D returned
 extern BOX2DFLOAT4 getbox2d(char *serialized_form);
+// this function writes to 'box' and returns 0 if serialized_form
+// does not have a bounding box (empty geom)
 extern int getbox2d_p(char *serialized_form, BOX2DFLOAT4 *box);
 
 // Expand given box of 'd' units in all directions