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