My Project: openb3dlib.mod/openb3d/src/maths_helper.h File Reference

My Project

Macros | Functions
maths_helper.h File Reference
`#include <cmath>`

Go to the source code of this file.

## Macros

#define | M_PI 3.14159265358979323846
#define | DEG_CIRCLE 360
#define | DEG_TO_RAD (M_PI / (DEG_CIRCLE / 2))
#define | RAD_TO_DEG ((DEG_CIRCLE / 2) / M_PI)

## Functions

double | deg2rad (double degrees)
double | rad2deg (double radians)
double | cosdeg (double)
double | sindeg (double)
double | tandeg (double)
double | acosdeg (double)
double | asindeg (double)
double | atandeg (double)
double | atan2deg (double, double)

## Macro Definition Documentation

## § DEG_CIRCLE

#define DEG_CIRCLE 360

## § DEG_TO_RAD

#define DEG_TO_RAD (M_PI / (DEG_CIRCLE / 2))

## § M_PI

#define M_PI 3.14159265358979323846

## § RAD_TO_DEG

#define RAD_TO_DEG ((DEG_CIRCLE / 2) / M_PI)

## Function Documentation

## § acosdeg()

double acosdeg | ( | double |  | ) |

## § asindeg()

double asindeg | ( | double |  | ) |

## § atan2deg()

double atan2deg | ( | double | ,
|  | double |
| ) |  |

## § atandeg()

double atandeg | ( | double |  | ) |

## § cosdeg()

double cosdeg | ( | double |  | ) |

## § deg2rad()

double deg2rad | ( | double | degrees | ) |

inline

## § rad2deg()

double rad2deg | ( | double | radians | ) |

inline

## § sindeg()

double sindeg | ( | double |  | ) |

## § tandeg()

double tandeg | ( | double |  | ) |