Functions
qwt_math.cpp File Reference
#include "qwt_math.h"
Include dependency graph for qwt_math.cpp:

Go to the source code of this file.

Functions

double qwtNormalizeDegrees (double degrees)
 Normalize an angle to be int the range [0.0, 360.0[. More...
 
double qwtNormalizeRadians (double radians)
 Normalize an angle to be int the range [0.0, 2 * PI[. More...
 
quint32 qwtRand ()
 Uses QRandomGenerator for Qt >= 5.10 and qRand() otherwise. More...
 

Function Documentation

◆ qwtNormalizeDegrees()

double qwtNormalizeDegrees ( double  degrees)

Normalize an angle to be int the range [0.0, 360.0[.

Parameters
radiansAngle in degrees
Returns
Normalized angle in degrees

Definition at line 35 of file qwt_math.cpp.

◆ qwtNormalizeRadians()

double qwtNormalizeRadians ( double  radians)

Normalize an angle to be int the range [0.0, 2 * PI[.

Parameters
radiansAngle in radians
Returns
Normalized angle in radians

Definition at line 20 of file qwt_math.cpp.

◆ qwtRand()

quint32 qwtRand ( )

Uses QRandomGenerator for Qt >= 5.10 and qRand() otherwise.

Returns
A 32-bit random quantity

Definition at line 48 of file qwt_math.cpp.



plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:49