GEOS  3.13.0dev
SweepLineInterval.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 #pragma once
16 
17 #include <geos/export.h>
18 
19 namespace geos {
20 namespace index { // geos.index
21 namespace sweepline { // geos:index:sweepline
22 
23 class GEOS_DLL SweepLineInterval {
24 public:
25  SweepLineInterval(double newMin, double newMax, void* newItem = nullptr);
26  double getMin();
27  double getMax();
28  void* getItem();
29 private:
30  double min, max;
31  void* item;
32 };
33 
34 } // namespace geos:index:sweepline
35 } // namespace geos:index
36 } // namespace geos
37 
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25