743 g1 = PG_GETARG_GSERIALIZED_P(0);
744 g2 = PG_GETARG_GSERIALIZED_P(1);
760 PG_FREE_IF_COPY(g1, 0);
761 PG_FREE_IF_COPY(g2, 1);
762 PG_RETURN_BOOL(
false);
771 PG_FREE_IF_COPY(g1, 0);
772 PG_FREE_IF_COPY(g2, 1);
774 PG_RETURN_BOOL(result);
uint32_t gserialized_get_type(const GSERIALIZED *s)
Extract the geometry type from the serialized form (it hides in the anonymous data area...
LWGEOM * lwgeom_from_gserialized(const GSERIALIZED *g)
Allocate a new LWGEOM from a GSERIALIZED.
int lwgeom_covers_lwgeom_sphere(const LWGEOM *lwgeom1, const LWGEOM *lwgeom2)
Calculate covers predicate for two lwgeoms on the sphere.
void lwgeom_free(LWGEOM *geom)
void error_if_srid_mismatch(int srid1, int srid2)
int lwgeom_is_empty(const LWGEOM *geom)
Return true or false depending on whether a geometry is an "empty" geometry (no vertices members) ...