PostGIS
3.0.6dev-r@@SVN_REVISION@@
◆
BOX2D_union()
Datum BOX2D_union
(
PG_FUNCTION_ARGS
)
Definition at line
371
of file
lwgeom_box.c
.
372
{
373
GBOX
*a = (
GBOX
*) PG_GETARG_POINTER(0);
374
GBOX
*b = (
GBOX
*) PG_GETARG_POINTER(1);
375
GBOX
*n;
376
377
n = (
GBOX
*)
lwalloc
(
sizeof
(
GBOX
));
378
if
( !
gbox_union
(a,b,n) ) PG_RETURN_NULL();
379
PG_RETURN_POINTER(n);
380
}
gbox_union
int gbox_union(const GBOX *g1, const GBOX *g2, GBOX *gout)
Update the output GBOX to be large enough to include both inputs.
Definition:
gbox.c:135
lwalloc
void * lwalloc(size_t size)
Definition:
lwutil.c:227
GBOX
Definition:
liblwgeom.h:338
References
gbox_union()
, and
lwalloc()
.
Here is the call graph for this function:
postgis
lwgeom_box.c
Generated by
1.9.1