MobilityDB  1.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros

◆ nd_increment()

int nd_increment ( ND_IBOX ibox,
int  ndims,
int *  counter 
)

Given an n-d index array (counter), and a domain to increment it in (ibox) increment it by one, unless it's already at the max of the domain, in which case return false.