40 #ifdef NO_BRANCH_CONDITIONS
45 #define VertEq(u,v) (((u)->s == (v)->s) & ((u)->t == (v)->t))
46 #define VertLeq(u,v) (((u)->s < (v)->s) | \
47 ((u)->s == (v)->s & (u)->t <= (v)->t))
49 #define VertEq(u,v) ((u)->s == (v)->s && (u)->t == (v)->t)
50 #define VertLeq(u,v) (((u)->s < (v)->s) || \
51 ((u)->s == (v)->s && (u)->t <= (v)->t))
54 #define EdgeEval(u,v,w) __gl_edgeEval(u,v,w)
55 #define EdgeSign(u,v,w) __gl_edgeSign(u,v,w)
59 #define TransLeq(u,v) (((u)->t < (v)->t) || \
60 ((u)->t == (v)->t && (u)->s <= (v)->s))
61 #define TransEval(u,v,w) __gl_transEval(u,v,w)
62 #define TransSign(u,v,w) __gl_transSign(u,v,w)
65 #define EdgeGoesLeft(e) VertLeq( (e)->Dst, (e)->Org )
66 #define EdgeGoesRight(e) VertLeq( (e)->Org, (e)->Dst )
69 #define ABS(x) ((x) < 0 ? -(x) : (x))
70 #define VertL1dist(u,v) (ABS(u->s - v->s) + ABS(u->t - v->t))
72 #define VertCCW(u,v,w) __gl_vertCCW(u,v,w)