PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ gserialized_same_3d()

Datum gserialized_same_3d ( PG_FUNCTION_ARGS  )

Definition at line 116 of file gserialized_spgist_3d.c.

117 {
118  BOX3D *box1 = DatumGetBox3DP(DirectFunctionCall1(LWGEOM_to_BOX3D, PG_GETARG_DATUM(0)));
119  BOX3D *box2 = DatumGetBox3DP(DirectFunctionCall1(LWGEOM_to_BOX3D, PG_GETARG_DATUM(1)));
120  bool resut = BOX3D_same_internal(box1, box2);
121  pfree(box1);
122  pfree(box2);
123 
124  PG_RETURN_BOOL(resut);
125 }
Datum LWGEOM_to_BOX3D(PG_FUNCTION_ARGS)
Definition: lwgeom_box3d.c:390
bool BOX3D_same_internal(BOX3D *box1, BOX3D *box2)

References BOX3D_same_internal(), and LWGEOM_to_BOX3D().

Here is the call graph for this function: