 |
OpendTect
6.6
|
Go to the documentation of this file.
35 t = typ ==
Rad ? 2 * cPI<T>() : 360;
44 while ( usrdeg >= 360 ) usrdeg -= 360;
45 while ( usrdeg < 0 ) usrdeg += 360;
55 if ( deg < 0 ) deg += 360;
77 if ( inptyp == outtyp ||
mIsUdf(val) )
T usrdeg2rad(T udeg)
Definition: angles.h:68
T rad2usrdeg(T rad)
Definition: angles.h:61
#define mIsUdf(val)
Use mIsUdf to check for undefinedness of simple types.
Definition: undefval.h:289
@ UsrDeg
Definition: angles.h:26
Type
Definition: angles.h:26
@ Rad
Definition: angles.h:26
void getFullCircle(Type typ, T &t)
Definition: angles.h:33
#define M_PIl
Definition: commondefs.h:80
T cPI()
Definition: angles.h:30
T deg2usrdeg(T deg)
User degrees are from North, clockwise.
Definition: angles.h:41
T usrdeg2deg(T udeg)
User degrees are from North, clockwise.
Definition: angles.h:52
@ Deg
Definition: angles.h:26
float toRadians(float d)
Definition: math2.h:98
T convert(Type inptyp, T val, Type outtyp)
Definition: angles.h:75
float toDegrees(float r)
Definition: math2.h:96
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021