Definition at line 61 of file lwgeom_geos_cluster.c.
References getPoint2d_cp(), lwgeom_as_lwpoint(), lwgeom_get_bbox(), lwgeom_get_type(), lwgeom_is_empty(), make_geos_point(), make_geos_segment(), POINTTYPE, POINT2D::x, GBOX::xmax, GBOX::xmin, POINT2D::y, GBOX::ymax, and GBOX::ymin.
Referenced by make_strtree().
64 return GEOSGeom_createEmptyPolygon();
GEOSGeometry * make_geos_segment(double x1, double y1, double x2, double y2)
uint32_t lwgeom_get_type(const LWGEOM *geom)
Return LWTYPE number.
LWPOINT * lwgeom_as_lwpoint(const LWGEOM *lwgeom)
GEOSGeometry * make_geos_point(double x, double y)
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.
int lwgeom_is_empty(const LWGEOM *geom)
Return true or false depending on whether a geometry is an "empty" geometry (no vertices members) ...