Ice Sheet System Model
4.18
Code documentation
src
c
shared
Bamg
OppositeAngle.h
Go to the documentation of this file.
1
#ifndef _OPPOSITEANGLE_H_
2
#define _OPPOSITEANGLE_H_
3
4
#include "../Numerics/constants.h"
5
6
/*Return the opposite angle modulo 2 Pi*/
7
namespace
bamg
{
8
inline
float
OppositeAngle
(
float
a){
return
a<0 ?
PI
+a:a-
PI
;}
9
inline
double
OppositeAngle
(
double
a){
return
a<0 ?
PI
+a:a-
PI
;}
10
}
11
12
#endif
bamg::OppositeAngle
float OppositeAngle(float a)
Definition:
OppositeAngle.h:8
bamg
Definition:
AdjacentTriangle.cpp:9
PI
const double PI
Definition:
constants.h:11
Generated on Thu Jul 2 2020 08:09:19 for Ice Sheet System Model by
1.8.19