首页 | 本学科首页   官方微博 | 高级检索  
     

曲线的整数型生成算法
引用本文:刘勇奎,石教英.曲线的整数型生成算法[J].计算机学报,1998,21(3):270-280.
作者姓名:刘勇奎  石教英
作者单位:1. 沈阳工业大学计算机学院,沈阳,110023
2. 浙江大学CAD&CG国家重点实验室,杭州,310027
摘    要:本文提出了一个用光栅显示器或数字化绘图仪等显示设备中选择曲线上最佳点的通过算法,该算法由几部分组成,分别对应曲线的不同走向段,其最大的特点是可以根据实际曲线的走向,在算法的各部分实现自动跳动,由此算法可生成所有常用曲线,本文给出Bezier曲线和B样条曲线的生成算法,这些算法选择距离实际曲线最近的网格点,并且只有整数运算。

关 键 词:整数型算法  曲线绘制  图形显示  工程制图
修稿时间:1997年3月6日

AN ALL-INTEGER ARITHMETIC ALGORITHM FOR DRAWING CURVES
LIU Yong-kui,SHI Jiao-Ying.AN ALL-INTEGER ARITHMETIC ALGORITHM FOR DRAWING CURVES[J].Chinese Journal of Computers,1998,21(3):270-280.
Authors:LIU Yong-kui  SHI Jiao-Ying
Abstract:This paper first describes a general algorithm for curve mesh point se-lection on incremental display devices such as a raster display or digital plotter.This algorithms is consists of several parts,and each part draws the segments of a curve which are in one range of direction. A key technique is used to make the algo-rithm skip properly from one part to the next part when the direction of the curve segment is changing. All the commonly used curves can be generated by this algo-rithm, and in this paper, algorithms for drawing Bezier curves and B-spline curves are presented. These algorithms select the closest mesh points to the true curves,and only integer calculations are required.
Keywords:Integer algorithms  curve drawing  B-spline curves  Bezier curves
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号