363 memcpy(result, box,
sizeof(
BOX3D));
368 double d = PG_GETARG_FLOAT8(1);
373 double dx = PG_GETARG_FLOAT8(1);
374 double dy = PG_GETARG_FLOAT8(2);
375 double dz = PG_GETARG_FLOAT8(3);
380 PG_RETURN_POINTER(result);
static void expand_box3d_xyz(BOX3D *box, double dx, double dy, double dz)
void expand_box3d(BOX3D *box, double d)
Expand given box of 'd' units in all directions.