#include <BHGlobal.h>
#include <functional>
#include <algorithm>
#include <cmath>
#include <iostream>
#include <vector>
#include <string>
#include <boost_signals2.hpp>
#include <QString>
浏览源代码.
|
| #define | M_PI 3.14159265358979323846 |
| |
|
| manipulator< int > | blanks (int n) |
| | 创建一个插入空格的流操作符
|
| |
| std::ostream & | blanksN (std::ostream &os, int n) |
| | 在输出流中插入指定数量的空格
|
| |
| template<class T > |
| T | clamp (T num, T lower, T upper) |
| | 将数值限制在指定范围内
|
| |
| template<class T > |
| T | fmod (T numerator, T denominator) |
| | 计算模运算结果,确保结果为非负数
|
| |
| template<class T > |
| T | sgn (T t) |
| | 获取数值的符号
|
| |
| manipulator< int > | tabs (int n) |
| | 创建一个插入制表符的流操作符
|
| |
| std::ostream & | tabsN (std::ostream &os, int n) |
| | 在输出流中插入指定数量的制表符
|
| |
| template<class T > |
| T | toDegrees (T r) |
| | 将弧度值从弧度转换为度
|
| |
| template<class T > |
| T | toRadians (T d) |
| | 将角度值从度转换为弧度
|
| |