Calculates the length of an STBox along a specified axis.
This function computes the difference between the upper and lower bounds of an STBox along a given axis, effectively calculating the length of the box along that axis.
- Parameters
-
[in] | rtree | Pointer to the RTree structure containing the function to retrieve axis values. |
[in] | box | Pointer to the STBox structure for which the axis length is to be calculated. |
[in] | axis | The specific axis (e.g. 0, 1, 2) along which to compute the length. |
- Returns
- The length of the STBox as a double along the specified axis.