GEOS  3.9.1dev
SweepLineInterval.h
Go to the documentation of this file.
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_SWEEPLINEINTERVAL_H
16 #define GEOS_INDEX_SWEEPLINE_SWEEPLINEINTERVAL_H
17 
18 #include <geos/export.h>
19 
20 namespace geos {
21 namespace index { // geos.index
22 namespace sweepline { // geos:index:sweepline
23 
25 public:
26  SweepLineInterval(double newMin, double newMax, void* newItem = nullptr);
27  double getMin();
28  double getMax();
29  void* getItem();
30 private:
31  double min, max;
32  void* item;
33 };
34 
35 } // namespace geos:index:sweepline
36 } // namespace geos:index
37 } // namespace geos
38 
39 #endif // GEOS_INDEX_SWEEPLINE_SWEEPLINEINTERVAL_H
#define GEOS_DLL
Definition: export.h:28
Basic namespace for all GEOS functionalities.