GEOS 3.14.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#pragma once
20
21#include <geos/export.h>
22
23namespace geos {
24namespace index { // geos::index
25namespace quadtree { // geos::index::quadtree
26
40class GEOS_DLL IntervalSize {
41public:
48 static const int MIN_BINARY_EXPONENT = -50;
49
56 static bool isZeroWidth(double min, double max);
57};
58
59} // namespace geos::index::quadtree
60} // namespace geos::index
61} // namespace geos
62
Provides a test for whether an interval is so small it should be considered as zero for the purposes ...
Definition IntervalSize.h:40
static bool isZeroWidth(double min, double max)
Basic namespace for all GEOS functionalities.
Definition geos.h:39