Definition at line 208 of file lwgeom_btree.c.
References error_if_srid_mismatch(), FALSE, FPeq, gserialized_get_gbox_p(), gserialized_get_srid(), LW_FAILURE, lwgeom_gt(), PG_FUNCTION_INFO_V1(), TRUE, GBOX::xmax, GBOX::xmin, GBOX::ymax, and GBOX::ymin.
Referenced by lwgeom_eq().
216 POSTGIS_DEBUG(2,
"lwgeom_ge called");
223 PG_FREE_IF_COPY(geom1, 0);
224 PG_FREE_IF_COPY(geom2, 1);
226 if ( empty1 != empty2 )
228 PG_RETURN_BOOL(
FALSE);
235 PG_RETURN_BOOL(
TRUE);
237 PG_RETURN_BOOL(
FALSE);
244 PG_RETURN_BOOL(
TRUE);
246 PG_RETURN_BOOL(
FALSE);
253 PG_RETURN_BOOL(
TRUE);
255 PG_RETURN_BOOL(
FALSE);
262 PG_RETURN_BOOL(
TRUE);
264 PG_RETURN_BOOL(
FALSE);
267 PG_RETURN_BOOL(
TRUE);
int gserialized_get_gbox_p(const GSERIALIZED *g, GBOX *box)
Read the bounding box off a serialization and calculate one if it is not already there.
void error_if_srid_mismatch(int srid1, int srid2)
int32_t gserialized_get_srid(const GSERIALIZED *s)
Extract the SRID from the serialized form (it is packed into three bytes so this is a handy function)...