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

◆ gserialized_spgist_compress_3d()

PGDLLEXPORT Datum gserialized_spgist_compress_3d ( PG_FUNCTION_ARGS  )

Definition at line 771 of file gserialized_spgist_3d.c.

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

References LW_FAILURE, and LWGEOM_to_BOX3D().

Here is the call graph for this function: