MobilityDB 1.1

◆ lwpoint_cmp()

static int lwpoint_cmp ( const LWPOINT p,
const LWPOINT q 
)
static

Return -1, 0, or 1 depending on whether the first LWPOINT is less than, equal, or greater than the second one.

Precondition
There is no empty point in the array, the points are of the same dimensionality