Definition at line 1139 of file liblwgeom/lwgeom_geos.c.
1142 GEOSGeometry *g1, *g3;
1156 if (!(g3 = GEOSClipByRect(g1, x1, y1, x2, y2)))
char result[OUT_DOUBLE_BUFFER_SIZE]
#define GEOS_FREE_AND_FAIL_DEBUG(...)
#define GEOS_FAIL_DEBUG()
GEOSGeometry * LWGEOM2GEOS(const LWGEOM *lwgeom, uint8_t autofix)
LWGEOM * GEOS2LWGEOM(const GEOSGeometry *geom, uint8_t want3d)
void lwgeom_geos_error(const char *fmt,...)
LWGEOM * lwgeom_clone_deep(const LWGEOM *lwgeom)
Deep clone an LWGEOM, everything is copied.
#define FLAGS_GET_Z(flags)
void lwnotice(const char *fmt,...)
Write a notice out to the notice handler.
static int lwgeom_is_empty(const LWGEOM *geom)
Return true or false depending on whether a geometry is an "empty" geometry (no vertices members)
References AUTOFIX, LWGEOM::flags, FLAGS_GET_Z, GEOS2LWGEOM(), GEOS_FAIL_DEBUG, GEOS_FREE, GEOS_FREE_AND_FAIL_DEBUG, LWGEOM2GEOS(), lwgeom_clone_deep(), lwgeom_geos_error(), lwgeom_is_empty(), lwnotice(), result, and LWGEOM::srid.
Referenced by mvt_unsafe_clip_by_box(), ST_ClipByBox2d(), and test_lwgeom_clip_by_rect().