GEOS: math.h Source File

GEOS 3.5.0

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List

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 { namespace util {
20
22 double sym_round(double val);
23
25 double java_math_round(double val);
26
28 double rint_vc(double val);
29
34 inline double round(double val)
35 {
36 return java_math_round(val);
37 }
38
39 }} // namespace geos::util
40
41 #endif // GEOS_UTIL_MATH_H
geos
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25