- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
摘 要
本毕业设计主要研究参数曲线的直接快速生成,要直接生成参数曲线就需对参数方程{x=f(t),y=g(t),(0t1)}的参数t每次增加一个步长,然后计算该点的x和y坐标值并绘制该点。要逐点地生成参数曲线,就要求参数t每次增加的步长要使曲线前进的幅度不得超过一个象素长度,否则有可能跨过一个中间象素而产生断点。
为了提高曲线生成算法的速度,本毕业设计针对如何选择最佳的步长进行比较讨论,以使曲线前进的幅度在不超过一个象素的前提下,选择尽量大的步长。为了进一步提高算法的速度,在前面讨论的最佳步长的基础上又采用了双步逐点曲线生成算法,即将上述得到的步长增加一倍,以使算法的循环次数减少一半。由于步长增加一倍,这样当曲线前进一步时,其幅度有时会大于一个象素的长度,这时我们通过插值的方法来确定跨过的那个中间象素。
通过上述讨论的算法能够比较快速的逐点生成曲线,为了实现上述算法,本毕业设计使用Visual C++6.0为工具并以三次Bezier曲线、普通参数曲线{x=f(t)=X3t3+X2t2+X1t+X0, y=g(t)=Y3t3+Y2t2+Y1t+Y0},以及导师所给的一个特殊的曲线方程为例编程实现上述算法。
关键词:参数曲线,逐点,双步,Visual C++6. 0
Abstract
This graduation project main reseach the direct born of the parameter curve {x=f(t),y=g(t),0= t =1,}quickly.To direct born of the parameter curve it need to increase the parameter ‘t’ a step length each time,then caculate this point’s coordinates value of x and y and draw this point.For drawing the parameter curve by point to point it orde to the parameter t’s step length of increased make the progress range of the curve can not large than the length of one pels, otherwise the curve may step over one middle pels and skip one point that it should be on the curve.
For speeding up the arithmetic of the drawing of the curve, this graduation project have discussed the choice of the best step length, so as to choose the biggst step length on the premise that the progress range is not large than one ples. To speeding up the arithmetic more, before the base of discussion about the best step length just now,we take the arithmetic of double step form of the curve by point to point ,and it double the step length that it be caculated just now to lessen the time of the circulation in the arithmetic to the half.Because it have doubled the step length,the progrss rang may large than the length of one pels when the curve go ahead one step.Then we must take the method of difference to make sure the middle pels that be steped over.
It can draw the curve quickly that used the arithmetic we have discussed.To achive the arithmet
您可能关注的文档
- 机械制造专业毕业论文--浅谈松垛机的设计.doc
- 机械制造专业毕业论文--球径收卷机论文设计.doc
- 机械制造专业毕业论文--球磨机设计.doc
- 机械制造专业毕业论文--全封闭建筑钢筋切断机设计.doc
- 机械制造专业毕业论文--热加工通用机械手设计.doc
- 机械制造专业毕业论文--人工髋关节模拟试验机机械传动部分研制.doc
- 机械制造专业毕业论文--沙溪口墩配筋图水轮机层蜗壳层计算书.doc
- 机械制造专业毕业论文--生产车桥后桥减速器壳体组合车床中镗孔的精镗机床设计.doc
- 机械制造专业毕业论文--拾取轴类零件机械手的设计.doc
- 机械制造专业毕业论文--手持式电动旋盖机总体及卸料装置设计.doc
- 水利工程专业毕业论文--魏村西抽水站设计.doc
- 水利水电工程专业的毕业论文--渡槽设计.doc
- 塑料模具制造专业毕业论文--扣盖注塑模设计说明书.doc
- 塑料模具专业毕业论文-对接型销双向斜抽芯椎杆内抽芯灯罩注塑模设计.doc
- 塑料模具专业毕业论文-遥控器盒盖的塑料模具设计.doc
- 塑料磨具制造专业毕业论文--摩托车塑料挡板注塑模具设计.doc
- 塑料磨具制造专业毕业论文--排水管头塑料模具设计与制造.doc
- 体育教育专业毕业论文--浅谈中长跑运动员速度素质训练.doc
- 通信工程专业毕业论文--基于Android系统Wi-fi技术基础的互动联机游戏设计.doc
- 通信工程专业毕业论文--基于DSP的最小均方误差自适应滤波器的实现.doc
文档评论(0)