GEOS 3.14.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
19namespace geos {
20namespace index { // geos.index
21namespace sweepline { // geos:index:sweepline
22
23class GEOS_DLL SweepLineInterval {
24public:
25 SweepLineInterval(double newMin, double newMax, void* newItem = nullptr);
26 double getMin();
27 double getMax();
28 void* getItem();
29private:
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 geos.h:39