ifw-odp 5.1.1
 
Loading...
Searching...
No Matches
clipm_math.h
Go to the documentation of this file.
1
5
6#ifndef CLIPM_MATH_H
7#define CLIPM_MATH_H
8
9/*-----------------------------------------------------------------------------
10 Includes
11 -----------------------------------------------------------------------------*/
12
13#include <math.h>
14/* ensure to have CPL mathematical constants */
16
17/*-----------------------------------------------------------------------------
18 Declaration Block
19 -----------------------------------------------------------------------------*/
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25/*-----------------------------------------------------------------------------
26 Prototypes
27 -----------------------------------------------------------------------------*/
28
29double clipm_math_arctan_0to2pi( double x,
30 double y);
31int clipm_math_round_d2i( double in);
32cpl_size clipm_math_round_d2cplsize( double in);
33
34/*----------------------------------------------------------------------------*/
35
36#ifdef __cplusplus
37} /* extern "C" */
38#endif
39
40#endif /* CLIPM_MATH_H */
cpl_size clipm_math_round_d2cplsize(double in)
Round a double value to the nearest cpl_size.
Definition clipm_math.c:79
double clipm_math_arctan_0to2pi(double x, double y)
Compute the arcus tangens for the whole angle range.
Definition clipm_math.c:41
int clipm_math_round_d2i(double in)
Round a double value to the nearest integer.
Definition clipm_math.c:66