GEOS
3.4.2
|
00001 /********************************************************************** 00002 * 00003 * GEOS - Geometry Engine Open Source 00004 * http://geos.osgeo.org 00005 * 00006 * Copyright (C) 2006 Refractions Research Inc. 00007 * 00008 * This is free software; you can redistribute and/or modify it under 00009 * the terms of the GNU Lesser General Public Licence as published 00010 * by the Free Software Foundation. 00011 * See the COPYING file for more information. 00012 * 00013 **********************************************************************/ 00014 00015 #ifndef GEOS_INDEX_SWEEPLINE_SWEEPLINEINTERVAL_H 00016 #define GEOS_INDEX_SWEEPLINE_SWEEPLINEINTERVAL_H 00017 00018 #include <geos/export.h> 00019 00020 namespace geos { 00021 namespace index { // geos.index 00022 namespace sweepline { // geos:index:sweepline 00023 00024 class GEOS_DLL SweepLineInterval { 00025 public: 00026 SweepLineInterval(double newMin, double newMax, void* newItem=0); 00027 double getMin(); 00028 double getMax(); 00029 void* getItem(); 00030 private: 00031 double min, max; 00032 void* item; 00033 }; 00034 00035 } // namespace geos:index:sweepline 00036 } // namespace geos:index 00037 } // namespace geos 00038 00039 #endif // GEOS_INDEX_SWEEPLINE_SWEEPLINEINTERVAL_H