|
◆ geo_split_each_n_gboxes()
GBOX * geo_split_each_n_gboxes |
( |
const GSERIALIZED * |
gs, |
|
|
int |
elems_per_box, |
|
|
int * |
count |
|
) |
| |
Return an array of spatial boxes obtained by merging consecutive segments of a (multi)line.
- Parameters
-
[in] | gs | (Multi)line |
[in] | elems_per_box | Number of input segments combined in an output box |
[out] | count | Number of boxes in the output array |
- Returns
- If the number of segments is <=
elems_per_box , the result contains a single box. Otherwise, consecutive input segments are combined into an output box in the result. On error return NULL
|