32 #ifndef __TPOINT_TILE_H__ 33 #define __TPOINT_TILE_H__ int numdims
Number of dimensions.
Definition: tpoint_tile.h:46
int coords[MAXDIMS]
Coordinates of the current tile.
Definition: tpoint_tile.h:69
Struct for storing the state that persists across multiple calls generating a multidimensional grid...
Definition: tpoint_tile.h:55
Structure to represent the common structure of temporal values of any temporal subtype.
Definition: temporal.h:241
double size
Size of the x, y, and z dimension.
Definition: tpoint_tile.h:59
double y
Minimum y value of the current tile.
Definition: tpoint_tile.h:66
int i
Number of current tile.
Definition: tpoint_tile.h:58
Structure to represent spatiotemporal boxes.
Definition: stbox.h:51
Datum tpoint_space_time_split(PG_FUNCTION_ARGS)
Split a temporal point with respect to a spatiotemporal grid.
Definition: tpoint_tile.c:1098
BitMatrix * bm
Optional bit matrix for speeding up the computation of the split functions.
Definition: tpoint_tile.h:63
Basic functions for temporal types of any subtype.
Datum tpoint_space_split(PG_FUNCTION_ARGS)
Split a temporal point with respect to a spatial grid.
Definition: tpoint_tile.c:955
Structure for storing a bit matrix.
Definition: tpoint_tile.h:44
STBOX box
Bounding box of the grid.
Definition: tpoint_tile.h:61
Datum stbox_multidim_tile(PG_FUNCTION_ARGS)
Generate a tile in a multidimensional grid for temporal points.
Definition: tpoint_tile.c:700
Temporal * temp
Optional temporal point to be split.
Definition: tpoint_tile.h:62
Datum stbox_multidim_grid(PG_FUNCTION_ARGS)
Generate a multidimensional grid for temporal points.
Definition: tpoint_tile.c:593
TimestampTz t
Minimum t value of the current tile.
Definition: tpoint_tile.h:68
bool done
True when all the tiles have been processed.
Definition: tpoint_tile.h:57
#define MAXDIMS
Definition: tpoint_tile.h:37
double x
Minimum x value of the current tile.
Definition: tpoint_tile.h:65
int64 tunits
Size of the time dimension.
Definition: tpoint_tile.h:60
double z
Minimum z value of the current tile.
Definition: tpoint_tile.h:67
struct STboxGridState STboxGridState
Struct for storing the state that persists across multiple calls generating a multidimensional grid...