CustusX  18.04-rc1
An IGT application
cxMathUtils.h
Go to the documentation of this file.
1 /*=========================================================================
2 This file is part of CustusX, an Image Guided Therapy Application.
3 
4 Copyright (c) SINTEF Department of Medical Technology.
5 All rights reserved.
6 
7 CustusX is released under a BSD 3-Clause license.
8 
9 See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10 =========================================================================*/
11 
12 #ifndef CXMATHUTILS_H
13 #define CXMATHUTILS_H
14 
15 #include "cxResourceExport.h"
16 
17 namespace cx
18 {
19 
20 cxResource_EXPORT double roundAwayFromZero(double val);
21 cxResource_EXPORT unsigned int roundUnsigned(double val);
22 
23 }
24 
25 #endif // CXMATHUTILS_H
26 
double roundAwayFromZero(double val)
Definition: cxMathUtils.cpp:14
unsigned int roundUnsigned(double val)
Definition: cxMathUtils.cpp:22
Namespace for all CustusX production code.