acos
求反余弦(弧度)
double acos(double d)
asin
求反正弦(弧度)
double asin(double d)
atan
求反正切(弧度)
double atan(double d)
atan2
求反正切,按符号判定象限(弧度)
double atan2(double d)
acosa
求反余弦(角度)
double acosa(double d)
asina
求反正弦(角度)
double asina(double d)
atana
求反正切(角度)
double atana(double d)
atan2a
求反正切,按符号判定象限(角度)
double atan2a(double d)
cos
求余弦(弧度)
double cos(double dAngle);
cosa
求余弦(角度)
double cosa(double dAngle);
cosh
求双曲余弦(弧度)
double cosh(double dAngle);
cosha
求双曲余弦(角度)
double cosha(double dAngle);
sin
求正弦(弧度)
double cosh(double dAngle);
sinh
求双曲正弦(弧度)
double sinh(double dAngle);
tan
求正切(弧度)
double tan(double dAngle);
tanh
求双曲正切(弧度)
double tanh(double dAngle);
sina
求正弦(角度)
double sina(double dAngle);
sinha
求双曲正弦(角度)
double sinha(double dAngle);
tana
求正切(角度)
double tana(double dAngle);
tanha
求双曲正切(角度)
double tanha(double dAngle);
area
求任意多边形面积
double area(points &arpt);
返回值:面积正为逆时针;负为顺时针
distAtPoint
求曲线上一点距离曲线起点的距离
int distAtPoint(ent id, point pt, double &dDist)
返回值:1 成功;0 失败
ent id 曲线实体ID
point pt 已知点
double &dDist 距离返回值
endDist
求曲线长度
int endDist(ent id, double &dDist)
ent id 曲线实体ID
double &dDist 距离返回值
pointAtDist
求曲线上距离曲线起点一定长度的点
int pointAtDist(ent id, double dDist, point &pt)
ent id 曲线实体ID
double dDist 距离
point &pt 点返回值
closestPoint
已知曲线外一点, 求曲线上距离其最短的点
int closestPoint(ent id, point pt, point &ptOnCurve);
ent id 曲线实体ID
point pt 曲线外一点
point &ptOnCurve 点返回值
font
设置字体[WORD]
int font(CString sKey, CString sKind, double d)
CString sKey - WORD中定位关键字
CString sKind - 字体修改项关键字
字高 "size" 或 "高" 或 "大"
颜色 "color" 或 "色"
粗体 "bold" 或 "粗"
斜体 "italic" 或 "斜"
下标 "sub" 或 "下"
上标 "super" 或 "上"
下划线 "under" 或 "线"
单双删除线 "strike" 或 "划"
double d - 修改值