明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1534|回复: 2

[求助]关于Spline的问题

[复制链接]
发表于 2003-7-3 18:04 | 显示全部楼层 |阅读模式
请问为什么样条曲线在不输入切矢量的情况下,第一个拟合点处的切线方向只与前四个拟合点有关?(也就是说,只要前四个拟合点的位置不变,那么第一个拟合点处的切线就是确定的)这个切矢量与前四个拟合点有什么关系?

望高手相助!谢了
发表于 2003-7-4 13:29 | 显示全部楼层
如果不从ARX编程中来看这个问题,很难回答。
在ARX中创建样条曲线对象,需要这样的两个参数:
order :The order of the spline to be created (in the range 2 to 26)
fitTolerance :The tolerance to which the spline should approximate fitPoints
帮助系统中的解释是这样的:
Creates a spline that attempts to fit an order degree curve to the array of points within the tolerance fitTolerance. A fitTolerance of 0 causes the curve to be interpolated precisely through all the points in the points array. The curve order may be in the range 2 to 26.

order参数可能就是你所说的与前四个点有关,从上面的说明来看,实际上可能并不是这样的。至于切矢量与前四个拟合点的关系,这是一种算法,在ARX中也没有公开,因此我不知道。

欢迎你提出自己的意见。
 楼主| 发表于 2003-7-7 21:21 | 显示全部楼层

谢谢

能不能从VBA编程的角度讲一下?
我的师兄师姐研究的结果就如我上面提到的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2024-6-2 14:40 , Processed in 0.135419 second(s), 23 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表