几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   ObjectARX(C++) (http://www.dimcax.com/hust/forumdisplay.php?f=34)
-   -   【转帖】[求助]vc6.0+autocad (http://www.dimcax.com/hust/showthread.php?t=6673)

yang686526 2009-04-16 02:28 PM

【转帖】[求助]vc6.0+autocad
 
[求助]vc6.0+autocad
arx中有哪几种产生圆弧的函数,目前我只知道一种:圆心、半径,起始角,终止角;还有其它方法吗?比如:起点坐标、终点坐标、半径?
arx绘制圆弧的函数有哪些?
我知道的只有一个acdbarc,已知圆心,半径,起始角,终止角;
还有没有其它函数,如已知起点值,半径,终点值?
shinjikun怎么不见了,还想听你讲讲“设计模式”和文件访问的其它方法呢?
不要看到菜鸟就躲开啊!
sdk的help上面有 arc 的构造函数是这样的,我想应该就像你说的那样的吧
(圆心点,半径,起始角度,终止角度)
acdbarc(
const acgepoint3d& center,
double radius,
double startangle,
double endangle);
centerinput the center point of the arc
radiusinput the radius of the arc
startangleinput the starting angle of the arc
endangleinput the ending angle of the arc
this constructor creates an arc using the values passed in. center must be in wcs coordinates. the arc is initialized with a normal of (0,0,1) and a thickness of 0.0.
江苏昆山小城,欢迎交流
本职工作五金模具设计及加工
及cad软件开发
这是其它论坛回帖:
可以肯定的说,构造圆弧实体只有圆心,半径,起始角,终止角这一种,没有其它的方法。
如果要通过其它方式绘制圆弧,则需要转换成上述方法。这就是acge几何类发挥威力的地方。
能否介绍一下acge几何类的使用呢?


所有的时间均为北京时间。 现在的时间是 02:34 PM.