GEOS
3.6.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 * Last port: index/quadtree/IntervalSize.java rev 1.7 (JTS-1.10) 00016 * 00017 **********************************************************************/ 00018 00019 #ifndef GEOS_IDX_QUADTREE_INTERVALSIZE_H 00020 #define GEOS_IDX_QUADTREE_INTERVALSIZE_H 00021 00022 #include <geos/export.h> 00023 00024 namespace geos { 00025 namespace index { // geos::index 00026 namespace quadtree { // geos::index::quadtree 00027 00041 class GEOS_DLL IntervalSize { 00042 public: 00049 static const int MIN_BINARY_EXPONENT = -50; 00050 00057 static bool isZeroWidth(double min, double max); 00058 }; 00059 00060 } // namespace geos::index::quadtree 00061 } // namespace geos::index 00062 } // namespace geos 00063 00064 #endif // GEOS_IDX_QUADTREE_INTERVALSIZE_H