- 1、本文档共50页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
参数曲线的快速生成算法----毕业设计推荐
江 南 大 学
毕 业 设 计 论 文
论文题目:参数曲线的快速生成算法
姓 名:
学 院:信息工程学院
专 业:计算机科学与技术
指导老师:
日 期:2003年6月
摘 要
本毕业设计主要研究参数曲线的直接快速生成,要直接生成参数曲线就需对参数方程{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
您可能关注的文档
- 升旗仪式没到检讨书推荐.doc
- 千吨非晶合金带材生产线项目可行性研究报告(资金申请报告)推荐.doc
- 升旗仪式演讲稿推荐.doc
- 半导体工业用特种材料生产项目可行性研究报告推荐.doc
- 半导体(LED)绿色照明项目可行性研究报告-推荐132页优秀甲级资质可研报告推荐.doc
- 半导体直流稳压电源的设计和测试推荐.doc
- 华为笔试题大全(史上最齐全)推荐.doc
- 千头肉牛育肥基地建设项目可行性研究报告推荐.doc
- 华中科技大学_液压传动课程设计说明书_完整版推荐.docx
- 华佗酒业保健酒生产线建设项目可行性研究报告推荐.doc
- 2023年河北科技工程职业技术大学招聘笔试真题及完整答案详解1套.docx
- 采用云纹底纹设计的2025中小企业答谢盛典动态PPT方案.pptx
- 2023年河北科技工程职业技术大学招聘笔试真题及参考答案详解1套.docx
- 2023年河北科技学院招聘笔试真题附答案详解.docx
- 2023年河北科技工程职业技术大学招聘笔试真题及参考答案详解.docx
- 施工方进度管理.pptx
- 2023年河北科技工程职业技术大学招聘笔试真题含答案详解.docx
- 2023年河北科技学院招聘笔试真题及答案详解一套.docx
- 2023年河北科技学院招聘笔试真题及答案详解1套.docx
- 2023年河北科技学院招聘笔试真题带答案详解.docx
文档评论(0)