PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ 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 resut = BOX3D_contained_internal(box1, box2);
109  pfree(box1);
110  pfree(box2);
111 
112  PG_RETURN_BOOL(resut);
113 }
Datum LWGEOM_to_BOX3D(PG_FUNCTION_ARGS)
Definition: lwgeom_box3d.c:390
bool BOX3D_contained_internal(BOX3D *box1, BOX3D *box2)

References BOX3D_contained_internal(), and LWGEOM_to_BOX3D().

Here is the call graph for this function: