MobilityDB 1.1

◆ getOctant8D()

static uint8 getOctant8D ( const STBox centroid,
const STBox inBox 
)
static

Calculate the quadrant.

The quadrant is 8 bit unsigned integer with all bits in use. This function accepts 2 STBox as input. All 8 bits are set by comparing a corner of the box. This makes 256 quadrants in total.