Definition at line 260 of file lwgeom_geos_cluster.c.
References getPoint2d_cp(), LW_FAILURE, LW_SUCCESS, lwgeom_as_lwpoint(), lwgeom_get_bbox(), make_geos_segment(), QueryContext::num_items_found, POINTTYPE, query_accumulate(), ovdump::type, POINT2D::x, GBOX::xmax, GBOX::xmin, POINT2D::y, GBOX::ymax, and GBOX::ymin.
Referenced by union_dbscan_general(), and union_dbscan_minpoints_1().
264 GEOSGeometry* query_envelope;
279 GEOSGeom_destroy(query_envelope);
GEOSGeometry * make_geos_segment(double x1, double y1, double x2, double y2)
static void query_accumulate(void *item, void *userdata)
LWPOINT * lwgeom_as_lwpoint(const LWGEOM *lwgeom)
const POINT2D * getPoint2d_cp(const POINTARRAY *pa, int n)
Returns a POINT2D pointer into the POINTARRAY serialized_ptlist, suitable for reading from...
const GBOX * lwgeom_get_bbox(const LWGEOM *lwgeom)
Get a non-empty geometry bounding box, computing and caching it if not already there.
#define POINTTYPE
LWTYPE numbers, used internally by PostGIS.