Return an array of N spatial boxes obtained by merging consecutive segments of a line (iterator function)
- Parameters
-
[in] | lwline | Line |
[in] | box_count | Number of boxes |
[in] | geodetic | True when the line is geodetic |
[out] | result | Array of boxes. 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. |
- Returns
- Number of elements in the output array
- Note
- We must pass the
geodetic
flag since LWLINE
does not have this flag set