MobilityDB 1.3
Loading...
Searching...
No Matches

◆ box_area()

static double box_area ( const RTree rtree,
const void *  box 
)
static

Return the length, area, or volume of a bounding box.

The function iterates over all dimensions defined in the RTree multiplying the lengths of the box along each axis

Parameters
[in]rtreePointer to the RTree structure, which provides the number of dimensions and the method for retrieving axis lengths
[in]boxPointer to the bounding box