MobilityDB 1.1

◆ get_quadrant4D()

static uint8 get_quadrant4D ( const TBox centroid,
const TBox inBox 
)
static

Calculate the quadrant.

The quadrant is 8 bit unsigned integer with 4 least bits in use. This function accepts BOXes as input. All 4 bits are set by comparing a corner of the box. This makes 16 quadrants in total.