|
◆ stbox_tile_state_make()
static STboxGridState* stbox_tile_state_make |
( |
Temporal * |
temp, |
|
|
STBOX * |
box, |
|
|
double |
size, |
|
|
int64 |
tunits, |
|
|
POINT3DZ |
sorigin, |
|
|
TimestampTz |
torigin |
|
) |
| |
|
static |
Create the initial state that persists across multiple calls of the function.
- Parameters
-
[in] | temp | Optional temporal point to split |
[in] | box | Bounds for generating the multidimensional grid |
[in] | size | Tile size for the spatial dimensions in the units of the SRID |
[in] | tunits | Tile size for the temporal dimension in PostgreSQL time units |
[in] | sorigin | Spatial origin of the tiles |
[in] | torigin | Time origin of the tiles |
- Precondition
- The size argument must be greater to 0.
- Note
- The tunits argument may be equal to 0. In that case only the spatial dimension is tiled.
|