几何尺寸与公差论坛------致力于产品几何量公差标准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(VB.NET/C#) (http://www.dimcax.com/hust/forumdisplay.php?f=176)
-   -   【转帖】getfirstderivative()函数出错? (http://www.dimcax.com/hust/showthread.php?t=8912)

yang686526 2009-04-20 11:19 AM

【转帖】getfirstderivative()函数出错?
 
getfirstderivative()函数出错?
www.dimcax.com
getfirstderivative()函数出错?
需要进行类型转换
模具相关绿色软件
皆唯网
如何转换?能说的详细些吗
问题解决了,呵呵 pentres.pickedpoint可能不在实体曲线上,所以 求在pentres.pickedpoint点的切线当然不对了.用curve.getclosestpointto(pentres.pickedpoint,false)求出曲线上的点point.再用curve.getfirstderivative(point)函数就可以了
getfirstderivative(double value),这个参数value是什么? 这个参数是: 曲线上点的parameter,可以用 getparameteratpoint得到其实parameter的几何意义很简单,就是 曲线上第0点的parameter为0.0, 第1点的parameter为1.0, 第n点的parameter为n.0, 第0点至第1点之间线段上的点的parameter为1.xx 呵呵,自己去实验一下就清楚了 [


所有的时间均为北京时间。 现在的时间是 04:38 AM.