388{
389 GBOX *box = (
GBOX *)PG_GETARG_POINTER(0);
392
393 if (PG_NARGS() == 2)
394 {
395 double d = PG_GETARG_FLOAT8(1);
397 }
398 else
399 {
400 double dx = PG_GETARG_FLOAT8(1);
401 double dy = PG_GETARG_FLOAT8(2);
402
404 }
405
406 PG_RETURN_POINTER(
result);
407}
char result[OUT_DOUBLE_BUFFER_SIZE]
void gbox_expand(GBOX *g, double d)
Move the box minimums down and the maximums up by the distance provided.
void gbox_expand_xyzm(GBOX *g, double dx, double dy, double dz, double dm)
Move the box minimums down and the maximums up by the distances provided.