386 GBOX *box = (
GBOX *)PG_GETARG_POINTER(0);
388 memcpy(result, box,
sizeof(
GBOX));
392 double d = PG_GETARG_FLOAT8(1);
397 double dx = PG_GETARG_FLOAT8(1);
398 double dy = PG_GETARG_FLOAT8(2);
403 PG_RETURN_POINTER(result);
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.