Return an array of spatial boxes obtained by merging consecutive segments of a line.
- Parameters
-
[in] | gs | Line |
[in] | elems_per_box | Number of input segments merged into an output box |
[out] | count | Number of elements in the output array |
- Returns
- If the number of segments <=
elems_per_box
, the result contains a single box. Otherwise, consecutive input segments are combined into a single output box.