#include "mesh.h"
Macros | |
#define | ABS(x) ((x) < 0 ? -(x) : (x)) |
#define | EdgeEval(u, v, w) __gl_edgeEval(u,v,w) |
#define | EdgeGoesLeft(e) VertLeq( (e)->Dst, (e)->Org ) |
#define | EdgeGoesRight(e) VertLeq( (e)->Org, (e)->Dst ) |
#define | EdgeSign(u, v, w) __gl_edgeSign(u,v,w) |
#define | TransEval(u, v, w) __gl_transEval(u,v,w) |
#define | TransLeq(u, v) |
#define | TransSign(u, v, w) __gl_transSign(u,v,w) |
#define | VertCCW(u, v, w) __gl_vertCCW(u,v,w) |
#define | VertEq(u, v) ((u)->s == (v)->s && (u)->t == (v)->t) |
#define | VertL1dist(u, v) (ABS(u->s - v->s) + ABS(u->t - v->t)) |
#define | VertLeq(u, v) |
Functions | |
GLdouble | __gl_edgeEval (GLUvertex *u, GLUvertex *v, GLUvertex *w) |
void | __gl_edgeIntersect (GLUvertex *o1, GLUvertex *d1, GLUvertex *o2, GLUvertex *d2, GLUvertex *v) |
GLdouble | __gl_edgeSign (GLUvertex *u, GLUvertex *v, GLUvertex *w) |
GLdouble | __gl_transEval (GLUvertex *u, GLUvertex *v, GLUvertex *w) |
GLdouble | __gl_transSign (GLUvertex *u, GLUvertex *v, GLUvertex *w) |
int | __gl_vertCCW (GLUvertex *u, GLUvertex *v, GLUvertex *w) |
int | __gl_vertLeq (GLUvertex *u, GLUvertex *v) |
#define EdgeEval | ( | u, | |
v, | |||
w | |||
) | __gl_edgeEval(u,v,w) |
#define EdgeSign | ( | u, | |
v, | |||
w | |||
) | __gl_edgeSign(u,v,w) |
#define TransEval | ( | u, | |
v, | |||
w | |||
) | __gl_transEval(u,v,w) |
#define TransLeq | ( | u, | |
v | |||
) |
#define TransSign | ( | u, | |
v, | |||
w | |||
) | __gl_transSign(u,v,w) |
#define VertCCW | ( | u, | |
v, | |||
w | |||
) | __gl_vertCCW(u,v,w) |
#define VertLeq | ( | u, | |
v | |||
) |