摘要
为使HPGL格式文件输出的折线光滑化,分析了该格式文件数据输出存在的弊端及通常的解决办法。在此基础上,提出了一种基于遗传算法的插值处理方法,对该算法进行了数学描述,并对插值处理过程进行了数学解析。仿真实验结果表明,在对HPGL格式文件输出的折线进行若干次的插值处理过程中,只要将插值控制在设定的精度范围内,最终的运动轨迹就会形成一条光滑的曲线。
To smooth the polyline outputted by HPGL format file,the existing disadvantages of data output and corresponding solutions were analyzed.An interpolation processing method based on genetic algorithms was raised,and the mathematical description of the algorithms was given,in addition,the mathematical analysis of the interpolation proces-sing was elaborated.As shown in the simulative experiment,during several interpolation treatments of polyline outputted by HPGL format file,as long as the interpolation is controlled in accurate range,the final motion path would become a smooth curve.
出处
《计算机科学》
CSCD
北大核心
2011年第2期254-256,共3页
Computer Science
基金
江苏省高校自然科学研究基金(09KJD120005)资助