BIMHome v1.0.0
BIMHome接口文档说明
Calculator 成员列表

成员的完整列表,这些成员属于 Calculator,包括所有继承而来的类成员

absmod(int a, int b)Calculatorstatic
correctAngle(double a)Calculatorstatic
correctAngleU(double a)Calculatorstatic
cubicSolver(const std::vector< double > &ce)Calculatorstatic
decode(const QString &str)Calculatorstatic
deg2rad(double a)Calculatorstatic
findGCD(unsigned a, unsigned b)Calculatorstatic
fuzzyCompare(double v1, double v2, double tolerance=RS_ANGLETOLERANCE)Calculatorstatic
getAngleDifference(double a1, double a2, bool reversed=false)Calculatorstatic
getAngleDifference180(double a1, double a2)Calculatorstatic
getAngleDifferenceU(double a1, double a2)Calculatorstatic
getAngleLength(double a, double b, double isReversed)Calculatorstatic
getFontWidthAndHeight(double heightInDxf, const QString &fontFamily, const std::string &str, double &fontWidth, double &fontHeight, double coefficient=1.0)Calculatorstatic
getNearestPointOnEntity(TechDraw::DxfVector &ret, const TechDraw::DxfVector &point1, const TechDraw::DxfVector &point2, const TechDraw::DxfVector &coord, bool onEntity=true, double *dist=NULL)Calculatorstatic
getNormalizedAngle(double a)Calculatorstatic
getText(const std::string &s, std::string &english, std::string &chinese)Calculatorstatic
GetUtf8CharCount(const std::string &str, int &count)Calculatorstatic
GetUtf8CharCount(const std::string &str)Calculatorstatic
gra2rad(double a)Calculatorstatic
isAngleBetween(double a, double a1, double a2, bool reversed)Calculatorstatic
isAngleReadable(double angle)Calculatorstatic
isEllipticArc(double angle1, double angle2)Calculatorstatic
isInf(double v)Calculatorstatic
isNaN(double v)Calculatorstatic
isSane(double v)Calculatorstatic
makeAngleReadable(double angle, bool readable=true, bool *corrected=nullptr)Calculatorstatic
pow(double x, double y)Calculatorstatic
quadraticSolver(const std::vector< double > &ce)Calculatorstatic
quarticSolver(const std::vector< double > &ce)Calculatorstatic
rad2deg(double a)Calculatorstatic
rad2gra(double a)Calculatorstatic
replace(std::string str, const std::string &from, const std::string &to)Calculatorstatic
round(double v)Calculatorstatic
trunc(double v)Calculatorstatic