388 GBOX *box = (
GBOX *)PG_GETARG_POINTER(0);
390 memcpy(result, box,
sizeof(
GBOX));
394 double d = PG_GETARG_FLOAT8(1);
399 double dx = PG_GETARG_FLOAT8(1);
400 double dy = PG_GETARG_FLOAT8(2);
405 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.