GEOS  3.8.0dev
IntervalSize.h
1 /**********************************************************************
2  *
3  * GEOS - Geometry Engine Open Source
4  * http://geos.osgeo.org
5  *
6  * Copyright (C) 2006 Refractions Research Inc.
7  *
8  * This is free software; you can redistribute and/or modify it under
9  * the terms of the GNU Lesser General Public Licence as published
10  * by the Free Software Foundation.
11  * See the COPYING file for more information.
12  *
13  **********************************************************************
14  *
15  * Last port: index/quadtree/IntervalSize.java rev 1.7 (JTS-1.10)
16  *
17  **********************************************************************/
18 
19 #ifndef GEOS_IDX_QUADTREE_INTERVALSIZE_H
20 #define GEOS_IDX_QUADTREE_INTERVALSIZE_H
21 
22 #include <geos/export.h>
23 
24 namespace geos {
25 namespace index { // geos::index
26 namespace quadtree { // geos::index::quadtree
27 
41 class GEOS_DLL IntervalSize {
42 public:
49  static const int MIN_BINARY_EXPONENT = -50;
50 
57  static bool isZeroWidth(double min, double max);
58 };
59 
60 } // namespace geos::index::quadtree
61 } // namespace geos::index
62 } // namespace geos
63 
64 #endif // GEOS_IDX_QUADTREE_INTERVALSIZE_H
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
Provides a test for whether an interval is so small it should be considered as zero for the purposes ...
Definition: IntervalSize.h:41