|
BIMHome v1.0.0
BIMHome接口文档说明
|
#include <Setting.h>
静态 Public 成员函数 | |
| static int | absmod (int a, int b) |
| static double | correctAngle (double a) |
| static double | correctAngleU (double a) |
| static std::vector< double > | cubicSolver (const std::vector< double > &ce) |
| static QString | decode (const QString &str) |
| static double | deg2rad (double a) |
| static unsigned | findGCD (unsigned a, unsigned b) |
| Finds greatest common divider using Euclid's algorithm. | |
| static bool | fuzzyCompare (double v1, double v2, double tolerance=RS_ANGLETOLERANCE) |
| static double | getAngleDifference (double a1, double a2, bool reversed=false) |
| static double | getAngleDifference180 (double a1, double a2) |
| static double | getAngleDifferenceU (double a1, double a2) |
| static double | getAngleLength (double a, double b, double isReversed) |
| static void | getFontWidthAndHeight (double heightInDxf, const QString &fontFamily, const std::string &str, double &fontWidth, double &fontHeight, double coefficient=1.0) |
| static bool | getNearestPointOnEntity (TechDraw::DxfVector &ret, const TechDraw::DxfVector &point1, const TechDraw::DxfVector &point2, const TechDraw::DxfVector &coord, bool onEntity=true, double *dist=NULL) |
| static double | getNormalizedAngle (double a) |
| static void | getText (const std::string &s, std::string &english, std::string &chinese) |
| static int | GetUtf8CharCount (const std::string &str) |
| static bool | GetUtf8CharCount (const std::string &str, int &count) |
| static double | gra2rad (double a) |
| static bool | isAngleBetween (double a, double a1, double a2, bool reversed) |
| static bool | isAngleReadable (double angle) |
| static bool | isEllipticArc (double angle1, double angle2) |
| static bool | isInf (double v) |
| static bool | isNaN (double v) |
| static bool | isSane (double v) |
| static double | makeAngleReadable (double angle, bool readable=true, bool *corrected=nullptr) |
| static double | pow (double x, double y) |
| static std::vector< double > | quadraticSolver (const std::vector< double > &ce) |
| static std::vector< double > | quarticSolver (const std::vector< double > &ce) |
| static double | rad2deg (double a) |
| static double | rad2gra (double a) |
| static std::string | replace (std::string str, const std::string &from, const std::string &to) |
| static int | round (double v) |
| Rounds the given double to the closest int. | |
| static double | trunc (double v) |