Definition at line 2021 of file lwgeom_functions_basic.c.
References FALSE, gserialized_get_type(), gserialized_get_zm(), lwgeom_free(), lwgeom_from_gserialized(), lwgeom_same(), PG_FUNCTION_INFO_V1(), and ST_MakeEnvelope().
Referenced by LWGEOM_ndims().
2030 PG_FREE_IF_COPY(g1, 0);
2031 PG_FREE_IF_COPY(g2, 1);
2032 PG_RETURN_BOOL(
FALSE);
2037 PG_FREE_IF_COPY(g1, 0);
2038 PG_FREE_IF_COPY(g2, 1);
2039 PG_RETURN_BOOL(
FALSE);
2052 PG_FREE_IF_COPY(g1, 0);
2053 PG_FREE_IF_COPY(g2, 1);
2055 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.
void lwgeom_free(LWGEOM *geom)
char lwgeom_same(const LWGEOM *lwgeom1, const LWGEOM *lwgeom2)
geom1 same as geom2 iff
int gserialized_get_zm(const GSERIALIZED *gser)
Return a number indicating presence of Z and M coordinates.