00001 /********************************************************************** 00002 * $Id: SweepLineInterval.h 2556 2009-06-06 22:22:28Z strk $ 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 #include <geos/export.h> 00020 00021 namespace geos { 00022 namespace index { // geos.index 00023 namespace sweepline { // geos:index:sweepline 00024 00025 class GEOS_DLL SweepLineInterval { 00026 public: 00027 SweepLineInterval(double newMin, double newMax, void* newItem=0); 00028 double getMin(); 00029 double getMax(); 00030 void* getItem(); 00031 private: 00032 double min, max; 00033 void* item; 00034 }; 00035 00036 } // namespace geos:index:sweepline 00037 } // namespace geos:index 00038 } // namespace geos 00039 00040 #endif // GEOS_INDEX_SWEEPLINE_SWEEPLINEINTERVAL_H 00041 00042 /********************************************************************** 00043 * $Log$ 00044 * Revision 1.1 2006/03/21 10:01:30 strk 00045 * indexSweepline.h header split 00046 * 00047 **********************************************************************/ 00048