00001 /********************************************************************** 00002 * $Id: IntervalSize.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 * Last port: index/quadtree/IntervalSize.java rev 1.7 (JTS-1.10) 00017 * 00018 **********************************************************************/ 00019 00020 #ifndef GEOS_IDX_QUADTREE_INTERVALSIZE_H 00021 #define GEOS_IDX_QUADTREE_INTERVALSIZE_H 00022 00023 #include <geos/export.h> 00024 00025 namespace geos { 00026 namespace index { // geos::index 00027 namespace quadtree { // geos::index::quadtree 00028 00042 class GEOS_DLL IntervalSize { 00043 public: 00050 static const int MIN_BINARY_EXPONENT = -50; 00051 00058 static bool isZeroWidth(double min, double max); 00059 }; 00060 00061 } // namespace geos::index::quadtree 00062 } // namespace geos::index 00063 } // namespace geos 00064 00065 #endif // GEOS_IDX_QUADTREE_INTERVALSIZE_H 00066 00067 /********************************************************************** 00068 * $Log$ 00069 * Revision 1.1 2006/03/22 12:22:50 strk 00070 * indexQuadtree.h split 00071 * 00072 **********************************************************************/ 00073