GEOS  3.4.2
SweepLineOverlapAction.h
1 /**********************************************************************
2  *
3  * GEOS - Geometry Engine Open Source
4  * http://geos.osgeo.org
5  *
6  * Copyright (C) 2006 Refractions Research Inc.
7  *
8  * This is free software; you can redistribute and/or modify it under
9  * the terms of the GNU Lesser General Public Licence as published
10  * by the Free Software Foundation.
11  * See the COPYING file for more information.
12  *
13  **********************************************************************/
14 
15 #ifndef GEOS_INDEX_SWEEPLINE_SWEEPLINEOVERLAPACTION_H
16 #define GEOS_INDEX_SWEEPLINE_SWEEPLINEOVERLAPACTION_H
17 
18 #include <geos/export.h>
19 
20 // Forward declarations
21 namespace geos {
22  namespace index {
23  namespace sweepline {
24  class SweepLineInterval;
25  }
26  }
27 }
28 
29 namespace geos {
30 namespace index { // geos.index
31 namespace sweepline { // geos:index:sweepline
32 
33 class GEOS_DLL SweepLineOverlapAction {
34 public:
35  virtual void overlap(SweepLineInterval *s0,SweepLineInterval *s1)=0;
36 
37  virtual ~SweepLineOverlapAction() {}
38 };
39 
40 
41 } // namespace geos:index:sweepline
42 } // namespace geos:index
43 } // namespace geos
44 
45 #endif // GEOS_INDEX_SWEEPLINE_SWEEPLINEOVERLAPACTION_H