Return an array of N spatial boxes obtained by merging consecutive segments of a multiline.
- Parameters
-
[in] | gs | Multiline |
[in] | box_count | Number of boxes |
[out] | count | Number of elements in the output array |
- Returns
- If
totalpoints <= box_count
, the result contains one box per segment. Otherwise, consecutive input segments are combined into a single box in the result to reach the given number of boxes.