sweep.h revision 29684a16b6c92bee28a94fdc2607bcc143950fa8
#ifndef __2GEOM_SWEEP_H__
#define __2GEOM_SWEEP_H__
#include <vector>
#include "d2.h"
struct Event {
double x;
unsigned ix;
bool closing;
// Lexicographic ordering by x then closing
if(x < other.x) return true;
if(x > other.x) return false;
}
};
}
#endif