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

◆ gserialized_spgist_compress_3d()

PGDLLEXPORT Datum gserialized_spgist_compress_3d ( PG_FUNCTION_ARGS  )

Definition at line 772 of file gserialized_spgist_3d.c.

773{
774 BOX3D *result = DatumGetBox3DP(DirectFunctionCall1(LWGEOM_to_BOX3D, PG_GETARG_DATUM(0)));
775
776 /* Is the bounding box is null */
777 if (result == LW_FAILURE)
778 {
779 PG_RETURN_NULL();
780 }
781
782 /* Return BOX3D. */
783 PG_RETURN_POINTER(result);
784}
char result[OUT_DOUBLE_BUFFER_SIZE]
Definition cu_print.c:267
#define LW_FAILURE
Definition liblwgeom.h:96
Datum LWGEOM_to_BOX3D(PG_FUNCTION_ARGS)

References LW_FAILURE, LWGEOM_to_BOX3D(), and result.

Here is the call graph for this function: