00001 /********************************************************************** 00002 * $Id: SweepLineInterval.h 1820 2006-09-06 16:54:23Z mloskot $ 00003 * 00004 * GEOS - Geometry Engine Open Source 00005 * http://geos.refractions.net 00006 * 00007 * Copyright (C) 2006 Refractions Research Inc. 00008 * 00009 * This is free software; you can redistribute and/or modify it under 00010 * the terms of the GNU Lesser General Public Licence as published 00011 * by the Free Software Foundation. 00012 * See the COPYING file for more information. 00013 * 00014 **********************************************************************/ 00015 00016 #ifndef GEOS_INDEX_SWEEPLINE_SWEEPLINEINTERVAL_H 00017 #define GEOS_INDEX_SWEEPLINE_SWEEPLINEINTERVAL_H 00018 00019 namespace geos { 00020 namespace index { // geos.index 00021 namespace sweepline { // geos:index:sweepline 00022 00023 class SweepLineInterval { 00024 public: 00025 SweepLineInterval(double newMin, double newMax, void* newItem=0); 00026 double getMin(); 00027 double getMax(); 00028 void* getItem(); 00029 private: 00030 double min, max; 00031 void* item; 00032 }; 00033 00034 } // namespace geos:index:sweepline 00035 } // namespace geos:index 00036 } // namespace geos 00037 00038 #endif // GEOS_INDEX_SWEEPLINE_SWEEPLINEINTERVAL_H 00039 00040 /********************************************************************** 00041 * $Log$ 00042 * Revision 1.1 2006/03/21 10:01:30 strk 00043 * indexSweepline.h header split 00044 * 00045 **********************************************************************/ 00046