ofMathfile
ofMath provides a collection of mathematical utilities and functions.
- Warning
- Many ofRandom-style functions wrap
rand()
which is not reentrant or thread safe. To generate random numbers simultaneously in multiple threads, consider using an instance of Poco::Random in each thread.
Random Numbers
Number Ranges
Distance
ofDist
()
Angles
Number wrapping
Noise
ofNoise
()
Geometry
Others
ofNextPow2
()
ofSign
()