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