30 #include "utils/geo_decls.h" 32 #include "../postgis_config.h" 34 #include "lwgeom_pg.h" 55 PG_FREE_IF_COPY(g1, 0);
56 PG_FREE_IF_COPY(g2, 1);
60 PG_RETURN_BOOL(
FALSE);
69 PG_FREE_IF_COPY(g1, 0);
70 PG_FREE_IF_COPY(g2, 1);
74 PG_RETURN_BOOL(
FALSE);
83 PG_FREE_IF_COPY(g1, 0);
84 PG_FREE_IF_COPY(g2, 1);
88 PG_RETURN_BOOL(
FALSE);
97 PG_FREE_IF_COPY(g1, 0);
98 PG_FREE_IF_COPY(g2, 1);
100 PG_RETURN_BOOL(
TRUE);
102 PG_RETURN_BOOL(
FALSE);
111 PG_FREE_IF_COPY(g1, 0);
112 PG_FREE_IF_COPY(g2, 1);
114 PG_RETURN_BOOL(
TRUE);
116 PG_RETURN_BOOL(
FALSE);
125 PG_FREE_IF_COPY(g1, 0);
126 PG_FREE_IF_COPY(g2, 1);
127 PG_RETURN_INT32(ret);
int gserialized_cmp(const GSERIALIZED *g1, const GSERIALIZED *g2)
Return -1 if g1 is "less than" g2, 1 if g1 is "greater than" g2 and 0 if g1 and g2 are the "same"...
Datum lwgeom_eq(PG_FUNCTION_ARGS)
Datum lwgeom_le(PG_FUNCTION_ARGS)
Datum lwgeom_lt(PG_FUNCTION_ARGS)
Datum lwgeom_cmp(PG_FUNCTION_ARGS)
Datum lwgeom_gt(PG_FUNCTION_ARGS)
PG_FUNCTION_INFO_V1(lwgeom_lt)
Datum lwgeom_ge(PG_FUNCTION_ARGS)
This library is the generic geometry handling section of PostGIS.