15#ifndef GEOS_INDEX_SWEEPLINE_SWEEPLINEEVENT_H
16#define GEOS_INDEX_SWEEPLINE_SWEEPLINEEVENT_H
18#include <geos/export.h>
24 class SweepLineInterval;
33class GEOS_DLL SweepLineEvent {
42 SweepLineEvent(
double x, SweepLineEvent *newInsertEvent,
43 SweepLineInterval *newSweepInt);
49 SweepLineEvent* getInsertEvent();
51 int getDeleteEventIndex();
53 void setDeleteEventIndex(
int newDeleteEventIndex);
55 SweepLineInterval* getInterval();
63 int compareTo(
const SweepLineEvent *pe)
const;
74 SweepLineEvent *insertEvent;
78 SweepLineInterval *sweepInt;
85struct GEOS_DLL SweepLineEventLessThen {
86 bool operator() (
const SweepLineEvent* first,
const SweepLineEvent* second)
const;
Contains classes which implement a sweepline algorithm for scanning geometric data structures.
Definition index/sweepline/SweepLineEvent.h:23
Provides classes for various kinds of spatial indexes.
Definition IndexedNestedRingTester.h:31
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25