MobilityDB 1.3
Loading...
Searching...
No Matches
Macros | Functions
tcbuffer.c File Reference

Basic functions for temporal network points. More...

#include <postgres.h>
#include <utils/array.h>
#include <meos.h>
#include <meos_internal.h>
#include <meos_cbuffer.h>
#include "temporal/lifting.h"
#include "temporal/set.h"
#include "temporal/temporal.h"
#include "temporal/type_parser.h"
#include "temporal/type_util.h"
#include "geo/stbox.h"
#include "geo/tspatial_parser.h"
#include "cbuffer/cbuffer.h"
#include "cbuffer/tcbuffer_spatialfuncs.h"
#include "pg_temporal/meos_catalog.h"
#include "pg_temporal/temporal.h"
#include "pg_temporal/type_util.h"
#include "pg_geo/postgis.h"

Macros

#define TCBUFFER_MAX_TYPMOD   2
 

Functions

Datum Tcbuffer_at_cbuffer (PG_FUNCTION_ARGS)
 Return a temporal circular buffer restricted to a circular buffer. More...
 
Datum Tcbuffer_at_geom (PG_FUNCTION_ARGS)
 Return a temporal circular buffer restricted to a geometry. More...
 
Datum Tcbuffer_at_stbox (PG_FUNCTION_ARGS)
 Return a temporal circular buffer restricted to a circular buffer. More...
 
Datum Tcbuffer_constructor (PG_FUNCTION_ARGS)
 Construct a temporal circular buffer from a temporal point and a temporal float @sqlfn tcbuffer_constructor() More...
 
Datum Tcbuffer_enforce_typmod (PG_FUNCTION_ARGS)
 Enforce typmod information for temporal circular buffers with respect to temporal subtype and SRID. More...
 
Datum Tcbuffer_expand (PG_FUNCTION_ARGS)
 Return a temporal circular buffer with the radius expanded by a distance @sqlfn expand() More...
 
Datum Tcbuffer_in (PG_FUNCTION_ARGS)
 Return a temporal circular buffer from its Well-Known Text (WKT) representation @sqlfn tcbuffer_in() More...
 
Datum Tcbuffer_minus_cbuffer (PG_FUNCTION_ARGS)
 Return a temporal circular buffer restricted to the complement of a circular buffer @sqlfn minusValue() More...
 
Datum Tcbuffer_minus_geom (PG_FUNCTION_ARGS)
 Return a temporal circular buffer restricted to the complement of a geometry. More...
 
Datum Tcbuffer_minus_stbox (PG_FUNCTION_ARGS)
 Return a temporal circular buffer restricted to the complement of a circular buffer @sqlfn minusValue() More...
 
Datum Tcbuffer_points (PG_FUNCTION_ARGS)
 Return the set of points of a temporal circular buffer @sqlfn points() More...
 
Datum Tcbuffer_radius (PG_FUNCTION_ARGS)
 Return the set of radii of a temporal circular buffer @sqlfn points() More...
 
static Datum Tcbuffer_restrict_cbuffer (FunctionCallInfo fcinfo, bool atfunc)
 Return a temporal circular buffer restricted to (the complement of) a circular buffer. More...
 
static Datum Tcbuffer_restrict_geom (FunctionCallInfo fcinfo, bool atfunc)
 Return a temporal circular buffer restricted to (the complement of) a geometry. More...
 
static Datum Tcbuffer_restrict_stbox (FunctionCallInfo fcinfo, bool atfunc)
 Return a temporal circular buffer restricted to (the complement of) a circular buffer. More...
 
Datum Tcbuffer_to_tfloat (PG_FUNCTION_ARGS)
 Convert a temporal circular buffer into a temporal float @sqlfn tfloat() More...
 
Datum Tcbuffer_to_tgeompoint (PG_FUNCTION_ARGS)
 Convert a temporal circular buffer into a temporal geometry point @sqlfn tgeompoint() More...
 
Datum Tcbuffer_traversed_area (PG_FUNCTION_ARGS)
 Return the geometry covered by a temporal circular buffer @sqlfn traversedArea() More...
 
static Temporaltcbuffer_valid_typmod (Temporal *temp, int32_t typmod)
 Check the consistency of the metadata specified in the typmod: SRID, type, and dimensionality. More...
 
Datum Tgeometry_to_tcbuffer (PG_FUNCTION_ARGS)
 Convert a temporal geometry into a temporal circular buffer. More...
 

Detailed Description

Basic functions for temporal network points.