GEOS  3.3.3
IntervalSize.h
1 /**********************************************************************
2  * $Id: IntervalSize.h 2556 2009-06-06 22:22:28Z strk $
3  *
4  * GEOS - Geometry Engine Open Source
5  * http://geos.refractions.net
6  *
7  * Copyright (C) 2006 Refractions Research Inc.
8  *
9  * This is free software; you can redistribute and/or modify it under
10  * the terms of the GNU Lesser General Public Licence as published
11  * by the Free Software Foundation.
12  * See the COPYING file for more information.
13  *
14  **********************************************************************
15  *
16  * Last port: index/quadtree/IntervalSize.java rev 1.7 (JTS-1.10)
17  *
18  **********************************************************************/
19 
20 #ifndef GEOS_IDX_QUADTREE_INTERVALSIZE_H
21 #define GEOS_IDX_QUADTREE_INTERVALSIZE_H
22 
23 #include <geos/export.h>
24 
25 namespace geos {
26 namespace index { // geos::index
27 namespace quadtree { // geos::index::quadtree
28 
42 class GEOS_DLL IntervalSize {
43 public:
50  static const int MIN_BINARY_EXPONENT = -50;
51 
58  static bool isZeroWidth(double min, double max);
59 };
60 
61 } // namespace geos::index::quadtree
62 } // namespace geos::index
63 } // namespace geos
64 
65 #endif // GEOS_IDX_QUADTREE_INTERVALSIZE_H
66 
67 /**********************************************************************
68  * $Log$
69  * Revision 1.1 2006/03/22 12:22:50 strk
70  * indexQuadtree.h split
71  *
72  **********************************************************************/
73