sweep.h revision e88f1eca443c9f97550088469932d9cea9ac0475
#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
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :