PostGIS 3.0.6dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ gserialized_contains_3d()

Datum gserialized_contains_3d ( PG_FUNCTION_ARGS  )

Definition at line 92 of file gserialized_spgist_3d.c.

93{
94 BOX3D *box1 = DatumGetBox3DP(DirectFunctionCall1(LWGEOM_to_BOX3D, PG_GETARG_DATUM(0)));
95 BOX3D *box2 = DatumGetBox3DP(DirectFunctionCall1(LWGEOM_to_BOX3D, PG_GETARG_DATUM(1)));
96 bool resut = BOX3D_contains_internal(box1, box2);
97 pfree(box1);
98 pfree(box2);
99
100 PG_RETURN_BOOL(resut);
101}
Datum LWGEOM_to_BOX3D(PG_FUNCTION_ARGS)
bool BOX3D_contains_internal(BOX3D *box1, BOX3D *box2)

References BOX3D_contains_internal(), and LWGEOM_to_BOX3D().

Here is the call graph for this function: