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

◆ gserialized_contained_3d()

Datum gserialized_contained_3d ( PG_FUNCTION_ARGS  )

Definition at line 104 of file gserialized_spgist_3d.c.

105{
106 BOX3D *box1 = DatumGetBox3DP(DirectFunctionCall1(LWGEOM_to_BOX3D, PG_GETARG_DATUM(0)));
107 BOX3D *box2 = DatumGetBox3DP(DirectFunctionCall1(LWGEOM_to_BOX3D, PG_GETARG_DATUM(1)));
108 bool result = BOX3D_contained_internal(box1, box2);
109 pfree(box1);
110 pfree(box2);
111
112 PG_RETURN_BOOL(result);
113}
char result[OUT_DOUBLE_BUFFER_SIZE]
Definition cu_print.c:267
bool BOX3D_contained_internal(BOX3D *box1, BOX3D *box2)
Datum LWGEOM_to_BOX3D(PG_FUNCTION_ARGS)

References BOX3D_contained_internal(), LWGEOM_to_BOX3D(), and result.

Here is the call graph for this function: