|
◆ stbox_set()
void stbox_set |
( |
bool |
hasx, |
|
|
bool |
hasz, |
|
|
bool |
geodetic, |
|
|
int32 |
srid, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
double |
ymin, |
|
|
double |
ymax, |
|
|
double |
zmin, |
|
|
double |
zmax, |
|
|
const Span * |
s, |
|
|
STBox * |
box |
|
) |
| |
Return in the last argument a spatiotemporal box constructed from the given arguments.
- Parameters
-
[in] | hasx | True if the values for the spatial dimension are given |
[in] | hasz | True if there is a Z dimension |
[in] | geodetic | True if geodetic |
[in] | srid | SRID |
[in] | xmin,ymin,zmin | Minimum bounds for the spatial dimension |
[in] | xmax,ymax,zmax | Maximum bounds for the spatial dimension |
[in] | s | Span |
[out] | box | Resulting box |
- Note
- This function is equivalent to stbox_make without memory allocation
|