Definition at line 263 of file lwgeom_geos_cluster.c.
264{
266
267 GEOSGeometry* query_envelope;
268
270
272 {
275 } else {
278 }
279
280 if (!query_envelope)
282
284
285 GEOSGeom_destroy(query_envelope);
286
288}
GEOSGeometry * make_geos_segment(double x1, double y1, double x2, double y2)
#define POINTTYPE
LWTYPE numbers, used internally by PostGIS.
const GBOX * lwgeom_get_bbox(const LWGEOM *lwgeom)
Get a non-empty geometry bounding box, computing and caching it if not already there.
#define LW_ON_INTERRUPT(x)
static void query_accumulate(void *item, void *userdata)
static LWPOINT * lwgeom_as_lwpoint(const LWGEOM *lwgeom)
static const POINT2D * getPoint2d_cp(const POINTARRAY *pa, uint32_t n)
Returns a POINT2D pointer into the POINTARRAY serialized_ptlist, suitable for reading from.
References getPoint2d_cp(), LW_FAILURE, LW_ON_INTERRUPT, LW_SUCCESS, lwgeom_as_lwpoint(), lwgeom_get_bbox(), make_geos_segment(), QueryContext::num_items_found, POINTTYPE, query_accumulate(), POINT2D::x, GBOX::xmax, GBOX::xmin, POINT2D::y, GBOX::ymax, and GBOX::ymin.
Referenced by union_dbscan_general(), and union_dbscan_minpoints_1().