GEOS 3.3.4

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

- File List

SweepLineInterval.h
1 /**********************************************************************
2 * $Id: SweepLineInterval.h 2556 2009-06-06 22:22:28Z strk $
3 *
4 * GEOS - Geometry Engine Open Source
5 * http://geos.refractions.net
6 *
7 * Copyright (C) 2006 Refractions Research Inc.
8 *
9 * This is free software; you can redistribute and/or modify it under
10 * the terms of the GNU Lesser General Public Licence as published
11 * by the Free Software Foundation.
12 * See the COPYING file for more information.
13 *
14 **********************************************************************/
15
16 #ifndef GEOS_INDEX_SWEEPLINE_SWEEPLINEINTERVAL_H
17 #define GEOS_INDEX_SWEEPLINE_SWEEPLINEINTERVAL_H
18
19 #include <geos/export.h>
20
21 namespace geos {
22 namespace index { // geos.index
23 namespace sweepline { // geos:index:sweepline
24
25 class GEOS_DLL SweepLineInterval {
26 public:
27 SweepLineInterval(double newMin, double newMax, void* newItem=0);
28 double getMin();
29 double getMax();
30 void* getItem();
31 private:
32 double min, max;
33 void* item;
34 };
35
36 } // namespace geos:index:sweepline
37 } // namespace geos:index
38 } // namespace geos
39
40 #endif // GEOS_INDEX_SWEEPLINE_SWEEPLINEINTERVAL_H
41
42 /**********************************************************************
43 * $Log$
44 * Revision 1.1 2006/03/21 10:01:30 strk
45 * indexSweepline.h header split
46 *
47 **********************************************************************/
48