GEOS: SweepLineInterval.h Source File

GEOS 3.5.0

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List

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
20 namespace geos {
21 namespace index { // geos.index
22 namespace sweepline { // geos:index:sweepline
23
24 class GEOS_DLL SweepLineInterval {
25 public:
26 SweepLineInterval(double newMin, double newMax, void* newItem=0);
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
geos
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25