717 g1 = PG_GETARG_GSERIALIZED_P(0);
718 g2 = PG_GETARG_GSERIALIZED_P(1);
730 PG_FREE_IF_COPY(g1, 0);
731 PG_FREE_IF_COPY(g2, 1);
732 PG_RETURN_BOOL(
false);
741 PG_FREE_IF_COPY(g1, 0);
742 PG_FREE_IF_COPY(g2, 1);
char result[OUT_DOUBLE_BUFFER_SIZE]
void gserialized_error_if_srid_mismatch(const GSERIALIZED *g1, const GSERIALIZED *g2, const char *funcname)
LWGEOM * lwgeom_from_gserialized(const GSERIALIZED *g)
Allocate a new LWGEOM from a GSERIALIZED.
void lwgeom_free(LWGEOM *geom)
int lwgeom_covers_lwgeom_sphere(const LWGEOM *lwgeom1, const LWGEOM *lwgeom2)
Calculate covers predicate for two lwgeoms on the sphere.
static int lwgeom_is_empty(const LWGEOM *geom)
Return true or false depending on whether a geometry is an "empty" geometry (no vertices members)