#include <cstring>
#include <ixlib_base.hh>
#include <ixlib_exgen.hh>
Go to the source code of this file.
Namespaces | |
namespace | ixion |
Defines | |
#define | NUM_MIN(a, b) ( (a)<(b) ? (a) : (b) ) |
#define | NUM_MAX(a, b) ( (a)>(b) ? (a) : (b) ) |
#define | NUM_ABS(a) ( (a)<0 ? (-(a)) : (a) ) |
#define | NUM_LIMIT(lower, value, upper) |
#define | NUM_INBOUND(lower, value, upper) |
#define | NUM_OVERLAP(a1, a2, b1, b2) |
#define | NUM_CIRCLEINC(index, size) |
#define | NUM_CIRCLEDIST(head, tail, size) |
|
Definition at line 31 of file ixlib_numeric.hh. |
|
Value: ( (head)<(tail) ? ((head)+(size)-(tail)) : ((head)-(tail)) ) Definition at line 42 of file ixlib_numeric.hh. Referenced by ixion::ring_queue::size(). |
|
Value: ( ((index)+1) >= (size) ? 0 : ((index)+1) ) Definition at line 40 of file ixlib_numeric.hh. |
|
Value: (((lower) <= (value)) && ((value) <= (upper))) Definition at line 36 of file ixlib_numeric.hh. |
|
Value: Definition at line 34 of file ixlib_numeric.hh. |
|
Definition at line 30 of file ixlib_numeric.hh. |
|
Definition at line 29 of file ixlib_numeric.hh. |
|
Value: ((((a1)<=(b1))&&((a2)>(b1)))||(((a1)<(b2))&&((a2)>(b2)))||(((a1)>=(b1))&&((a2)<=(b2)))) Definition at line 38 of file ixlib_numeric.hh. Referenced by ixion::rectangle::doesIntersect(). |