摘要
本文给出一个以等分角度为增量的绘制圆和椭圆曲线的算法.以计算回为基础,构造的表达式直接对stuθ和cosθ的泰勒展开式进行,计算精度较高,同时也减少了计算量.经过预处理,计算每个绘图点只需9次加法,与现有方法相比,输出图形具有取点均匀、速度快、精度高的优点.
The paper presents an algorithm of drawing circles and ellipses on the basis of the angle cut apart equally.The expressions are derived directly by the Taylor unfolding formula of sine and cost.After pretreatment,every drawing point is calculated by nine times addition.The obtained expressions produce more precise graph with little amount of work load,and drawing points are more evenly distributed than the existing methods.The results prove to be superior through computer verification.