PostGIS  3.4.0dev-r@@SVN_REVISION@@
lwgeom_window.c File Reference
#include "../postgis_config.h"
#include "postgres.h"
#include "funcapi.h"
#include "windowapi.h"
#include "liblwgeom.h"
#include "lwunionfind.h"
#include "lwgeom_geos.h"
#include "lwgeom_log.h"
#include "lwgeom_pg.h"
Include dependency graph for lwgeom_window.c:

Go to the source code of this file.

Data Structures

struct  kmeans_context
 
struct  cluster_entry
 
struct  cluster_context
 
struct  coverage_context
 

Enumerations

enum  { COVERAGE_SIMPLIFY = 0 , COVERAGE_ISVALID = 1 }
 

Functions

static cluster_contextfetch_cluster_context (WindowObject win_obj, uint32_t ngeoms)
 
static LWGEOMread_lwgeom_from_partition (WindowObject win_obj, uint32_t i, bool *is_null)
 
static GEOSGeometry * read_geos_from_partition (WindowObject win_obj, uint32_t i, bool *is_null)
 
Datum ST_ClusterDBSCAN (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (ST_ClusterDBSCAN)
 
Datum ST_ClusterWithinWin (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (ST_ClusterWithinWin)
 
Datum ST_ClusterIntersectingWin (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (ST_ClusterIntersectingWin)
 
Datum ST_ClusterKMeans (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (ST_ClusterKMeans)
 
static void coverage_destroy_geoms (GEOSGeometry **geoms, uint32 ngeoms)
 
static coverage_contextcoverage_context_fetch (WindowObject winobj, int64 rowcount)
 
static GEOSGeometry * coverage_read_partition_into_collection (WindowObject winobj, coverage_context *context)
 
static Datum coverage_window_calculation (PG_FUNCTION_ARGS, int mode)
 
Datum ST_CoverageSimplify (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (ST_CoverageSimplify)
 
Datum ST_CoverageInvalidEdges (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (ST_CoverageInvalidEdges)
 
Datum ST_CoverageUnion (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (ST_CoverageUnion)