Lines Matching defs:Event
7 struct Event {
11 Event(double pos, unsigned i, bool c) : x(pos), ix(i), closing(c) {}
13 bool operator<(Event const &other) const {
18 bool operator==(Event const &other) const {
36 std::vector<Event> events; events.reserve(rs.size()*2);
40 events.push_back(Event(rs[i][d].min(), i, false));
41 events.push_back(Event(rs[i][d].max(), i, true));
78 std::vector<Event> events[2];
87 events[n].push_back(Event(r[d].min(), i, false));
88 events[n].push_back(Event(r[d].max(), i, true));