GEOS  3.8.0dev
math.h
1 /**********************************************************************
2  *
3  * GEOS - Geometry Engine Open Source
4  * http://geos.osgeo.org
5  *
6  * Copyright (C) 2001-2002 Vivid Solutions Inc.
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 #ifndef GEOS_UTIL_MATH_H
17 #define GEOS_UTIL_MATH_H
18 
19 namespace geos {
20 namespace util {
21 
23 double sym_round(double val);
24 
26 double java_math_round(double val);
27 
29 double rint_vc(double val);
30 
35 inline double
36 round(double val)
37 {
38  return java_math_round(val);
39 }
40 
41 }
42 } // namespace geos::util
43 
44 #endif // GEOS_UTIL_MATH_H
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25