34#ifndef __PG_TSPATIAL_H__
35#define __PG_TSPATIAL_H__
39#include <utils/array.h>
FunctionCallInfo fetch_fcinfo(void)
Spatial functions for temporal points.
Definition: temporal.c:104
Datum EA_dwithin_tspatial_geo(FunctionCallInfo fcinfo, int(*func)(const Temporal *, const GSERIALIZED *, double dist, bool), bool ever)
Return true if a spatiotemporal value and a geometry are ever/always within a distance.
Definition: tgeo_spatialrels.c:149
Datum Tspatialrel_tspatial_geo(FunctionCallInfo fcinfo, Temporal *(*func)(const Temporal *, const GSERIALIZED *, bool, bool))
Return a temporal boolean that states whether a spatial temporal value and a geometry satisfy a spati...
Definition: tspatial_tempspatialrels.c:92
Datum EA_spatialrel_tspatial_geo(FunctionCallInfo fcinfo, int(*func)(const Temporal *, const GSERIALIZED *, bool), bool ever)
Return true if a spatiotemporal value and a geometry ever/always satisfy a spatial relationship.
Definition: tgeo_spatialrels.c:88
Datum Tcomp_geo_tspatial(FunctionCallInfo fcinfo, Temporal *(*func)(const GSERIALIZED *, const Temporal *))
Generic function for the temporal comparison operators.
Definition: tgeo_compops.c:281
Datum Tdwithin_geo_tspatial(FunctionCallInfo fcinfo, Temporal *(*func)(const GSERIALIZED *, const Temporal *, double, bool, bool))
Return a temporal boolean that states whether a geometry and a spatiotemporal value are within a give...
Definition: tspatial_tempspatialrels.c:149
Datum EA_spatialrel_geo_tspatial(FunctionCallInfo fcinfo, int(*func)(const GSERIALIZED *, const Temporal *, bool), bool ever)
Return true if a geometry and a spatiotemporal value ever/always satisfy a spatial relationship.
Definition: tgeo_spatialrels.c:70
Datum Tspatialrel_tspatial_tspatial(FunctionCallInfo fcinfo, Temporal *(*func)(const Temporal *, const Temporal *, bool, bool))
Return a temporal boolean that states whether two spatial temporal values satisfy a spatial relations...
Definition: tspatial_tempspatialrels.c:119
Datum EAcomp_tspatial_geo(FunctionCallInfo fcinfo, int(*func)(const Temporal *, const GSERIALIZED *))
Generic function for the temporal ever/always comparison operators.
Definition: tgeo_compops.c:80
void store_fcinfo(FunctionCallInfo fcinfo)
Store in the cache the fcinfo of the external function.
Definition: temporal.c:114
Datum EA_spatialrel_tspatial_tspatial(FunctionCallInfo fcinfo, int(*func)(const Temporal *, const Temporal *, bool), bool ever)
Return true if two spatiotemporal values ever/always satisfy the spatial relationship.
Definition: tgeo_spatialrels.c:109
Datum EA_dwithin_geo_tspatial(FunctionCallInfo fcinfo, int(*func)(const Temporal *, const GSERIALIZED *, double dist, bool), bool ever)
Return true if a geometry and a spatiotemporal value are ever/always within a distance.
Definition: tgeo_spatialrels.c:129
Datum Tdwithin_tspatial_tspatial(FunctionCallInfo fcinfo, Temporal *(*func)(const Temporal *, const Temporal *, double, bool, bool))
Return a temporal boolean that states whether two spatiotemporal values are within a given distance.
Definition: tspatial_tempspatialrels.c:205
Datum EAcomp_geo_tspatial(FunctionCallInfo fcinfo, int(*func)(const GSERIALIZED *, const Temporal *))
Generic function for the temporal ever/always comparison operators.
Definition: tgeo_compops.c:61
uint32 tspatial_typmod_in(ArrayType *arr, int is_point, int is_geodetic)
Input typmod information for temporal geos.
Definition: tgeo.c:152
Temporal * tspatial_valid_typmod(Temporal *temp, int32_t typmod)
Check the consistency of the metadata specified in the typmod: temporal subtype, geometry type,...
Definition: tgeo.c:408
Datum Tspatialrel_geo_tspatial(FunctionCallInfo fcinfo, Temporal *(*func)(const GSERIALIZED *, const Temporal *, bool, bool))
Return a temporal boolean that states whether a geometry and a spatiotemporal value satisfy a spatial...
Definition: tspatial_tempspatialrels.c:65
Datum Tdwithin_tspatial_geo(FunctionCallInfo fcinfo, Temporal *(*func)(const Temporal *, const GSERIALIZED *, double, bool, bool))
Return a temporal boolean that states whether a spatiotemporal value and a geometry are within a give...
Definition: tspatial_tempspatialrels.c:177
Datum Tcomp_tspatial_geo(FunctionCallInfo fcinfo, Temporal *(*func)(const Temporal *, const GSERIALIZED *))
Generic function for the temporal comparison operators.
Definition: tgeo_compops.c:301
Datum Spatialarr_as_text_ext(FunctionCallInfo fcinfo, bool extended)
Return the (Extended) Well-Known Text (WKT or EWKT) representation of an array of spatial values (ext...
Definition: spatialset.c:144
unsigned int uint32
Definition: postgres_ext_defs.in.h:16
uintptr_t Datum
Definition: postgres_ext_defs.in.h:7
Definition: postgis_ext_defs.in.h:170
Structure to represent the common structure of temporal values of any temporal subtype.
Definition: meos.h:173
int const GSERIALIZED bool ever
Definition: trgeo_spatialrels.h:53