51 static sureInline() void swap(
int* a,
int* b);
57 static sureInline()
void swap(
int* a,
int* b)
68 int dominant(
point* PS,
int* idx,
int n,
80 static int localidx[NPs];
93 projectOne(&newo, p, hypoct, o);
99 intercept(&(PTS[i]), &newo, &(PS[idx[i]]));
117 R = (classify(&(PTS[localidx[j]]), &(PTS[i])) & ~exclude) == 0;
143 R = (classify(&(PTS[localidx[j]]), &(PTS[localidx[k]])) & ~exclude) == 0;
149 localidx[i] = localidx[k];
159 swap(&idx[j], &idx[localidx[j]]);
Simple point interface. Contains simple point manipulation functions.
struct point __attribute__((aligned(16))) point
All points must be aligned for SSE2.
Point is an array of coordinates, in a struct for simple and fast copy.