MobilityDB  1.0
Macros | Functions
tpoint.h File Reference

Functions for temporal points. More...

#include <postgres.h>
#include <catalog/pg_type.h>
#include "general/temporal.h"
#include <liblwgeom.h>
#include "stbox.h"
Include dependency graph for tpoint.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TYPMOD_DEL_SUBTYPE(typmod)   (typmod = typmod >> 4 )
 
#define TYPMOD_SET_SUBTYPE(typmod, subtype)   ((typmod) = typmod << 4 | subtype)
 
#define WKB_TIMESTAMP_SIZE   8 /* Internal use only */
 
#define WKB_DOUBLE_SIZE   8 /* Internal use only */
 
#define WKB_INT_SIZE   4 /* Internal use only */
 
#define WKB_BYTE_SIZE   1 /* Internal use only */
 
#define MOBDB_WKB_INSTANT   1
 
#define MOBDB_WKB_INSTANTSET   2
 
#define MOBDB_WKB_SEQUENCE   3
 
#define MOBDB_WKB_SEQUENCESET   4
 
#define MOBDB_WKB_LOWER_INC   0x01
 
#define MOBDB_WKB_UPPER_INC   0x02
 
#define XDR   0 /* big endian */
 
#define NDR   1 /* little endian */
 
#define MOBDB_WKB_ZFLAG   0x10
 
#define MOBDB_WKB_GEODETICFLAG   0x20
 
#define MOBDB_WKB_SRIDFLAG   0x40
 
#define MOBDB_WKB_LINEAR_INTERP   0x80
 

Functions

void temporalgeom_init ()
 Set the handlers for initializing the liblwgeom library. More...
 
Datum tpoint_in (PG_FUNCTION_ARGS)
 Generic input function for temporal points. More...
 
Datum tgeompoint_typmod_in (PG_FUNCTION_ARGS)
 Input typmod information for temporal geometric points. More...
 
Datum tgeogpoint_typmod_in (PG_FUNCTION_ARGS)
 Input typmod information for temporal geographic points. More...
 
Datum tpoint_typmod_out (PG_FUNCTION_ARGS)
 Output typmod information for temporal points. More...
 
Datum tpoint_enforce_typmod (PG_FUNCTION_ARGS)
 Enforce typmod information for temporal points with respect to temporal type, dimensions, and SRID. More...
 
Datum tpointinst_constructor (PG_FUNCTION_ARGS)
 Construct a temporal instant point value from the arguments. More...
 
Datum tpoint_stbox (PG_FUNCTION_ARGS)
 
Datum tpoint_values (PG_FUNCTION_ARGS)
 Returns the base values (that is, the trajectory) of the temporal point value as a geometry/geography. More...
 
Datum teq_geo_tpoint (PG_FUNCTION_ARGS)
 Returns the temporal equality of the base value and the temporal value. More...
 
Datum teq_tpoint_geo (PG_FUNCTION_ARGS)
 Returns the temporal equality of the temporal value and base value. More...
 
Datum tne_geo_tpoint (PG_FUNCTION_ARGS)
 Returns the temporal difference of the base value and the temporal value. More...
 
Datum tne_tpoint_geo (PG_FUNCTION_ARGS)
 Returns the temporal difference of the temporal value and base value. More...
 

Detailed Description

Functions for temporal points.