PostGIS  3.7.0dev-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 result = BOX3D_same_internal(box1, box2);
121  pfree(box1);
122  pfree(box2);
123 
124  PG_RETURN_BOOL(result);
125 }
char result[OUT_DOUBLE_BUFFER_SIZE]
Definition: cu_print.c:267
bool BOX3D_same_internal(BOX3D *box1, BOX3D *box2)
Definition: lwgeom_box3d.c:661
Datum LWGEOM_to_BOX3D(PG_FUNCTION_ARGS)
Definition: lwgeom_box3d.c:398

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

Here is the call graph for this function: