MobilityDB 1.3
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages

◆ 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 to, or greater than the second one.

Precondition
The points are not empty and are of the same dimensionality