Lines Matching defs:Event
469 struct Event
471 Event(EventType t, Node *v, double p)
481 Event **events;
487 Event *ea = *(Event**) a;
488 Event *eb = *(Event**) b;
1158 SegmentListWrapper& segments, Event *e, unsigned int pass)
1324 SegmentListWrapper& segments, Event *e, unsigned int pass)
1448 events = new Event*[totalEvents];
1458 events[ctr++] = new Event(Open, v, minY);
1459 events[ctr++] = new Event(Close, v, maxY);
1470 events[ctr++] = new Event(ConnPoint, v, point.y);
1472 qsort((Event*)events, (size_t) totalEvents, sizeof(Event*), compare_events);
1532 events[ctr++] = new Event(Open, v, minX);
1533 events[ctr++] = new Event(Close, v, maxX);
1544 events[ctr++] = new Event(ConnPoint, v, point.x);
1546 qsort((Event*)events, (size_t) totalEvents, sizeof(Event*), compare_events);
1631 ShiftSegmentList& /*segments*/, Event *e, size_t dim,
1813 events = new Event*[totalEvents];
1823 events[ctr++] = new Event(Open, v, min[altDim]);
1824 events[ctr++] = new Event(Close, v, max[altDim]);
1837 events[ctr++] = new Event(SegOpen, v, lowPt[altDim]);
1838 events[ctr++] = new Event(SegClose, v, highPt[altDim]);
1840 qsort((Event*)events, (size_t) totalEvents, sizeof(Event*), compare_events);