GEOS 3.9.1
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#ifndef GEOS_INDEX_SWEEPLINE_SWEEPLINEINTERVAL_H
16#define GEOS_INDEX_SWEEPLINE_SWEEPLINEINTERVAL_H
17
18#include <geos/export.h>
19
20namespace geos {
21namespace index { // geos.index
22namespace sweepline { // geos:index:sweepline
23
24class GEOS_DLL SweepLineInterval {
25public:
26 SweepLineInterval(double newMin, double newMax, void* newItem = nullptr);
27 double getMin();
28 double getMax();
29 void* getItem();
30private:
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
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:26