PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ gserialized_overlaps_3d()

Datum gserialized_overlaps_3d ( PG_FUNCTION_ARGS  )

Definition at line 80 of file gserialized_spgist_3d.c.

81 {
82  BOX3D *box1 = DatumGetBox3DP(DirectFunctionCall1(LWGEOM_to_BOX3D, PG_GETARG_DATUM(0)));
83  BOX3D *box2 = DatumGetBox3DP(DirectFunctionCall1(LWGEOM_to_BOX3D, PG_GETARG_DATUM(1)));
84  bool resut = BOX3D_overlaps_internal(box1, box2);
85  pfree(box1);
86  pfree(box2);
87 
88  PG_RETURN_BOOL(resut);
89 }
Datum LWGEOM_to_BOX3D(PG_FUNCTION_ARGS)
Definition: lwgeom_box3d.c:390
bool BOX3D_overlaps_internal(BOX3D *box1, BOX3D *box2)

References BOX3D_overlaps_internal(), and LWGEOM_to_BOX3D().

Here is the call graph for this function: