圆码 [英] Circle code

查看:92
本文介绍了圆码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以给我一个绘制圆圈的想法而不使用任何浮点计算

吗?

谢谢

Prasad

Can anyone give me an idea for drawing a circle without making use of
any floating point computations?
Thanks
Prasad

推荐答案

ch ***** **@yahoo.com 写道:
任何人都可以在不使用任何浮点计算的情况下给我一个绘制圆圈的想法吗?
谢谢
Prasad
Can anyone give me an idea for drawing a circle without making use of
any floating point computations?
Thanks
Prasad




在comp.programming中提问可能是一个更好的主意。


如果你试图在C中实现它,并且有疑问,你可以随时回来。


干杯


弗拉基米尔

-

我的电子邮件地址是真的,我看了。



Asking in comp.programming is possibly a better idea.

If you try to implement this in C, and have questions, you can always
come back here.

Cheers

Vladimir
--
My e-mail address is real, and I read it.


" ch ***** **@yahoo.com"写道:
"ch*******@yahoo.com" wrote:

任何人都可以给我一个绘制圆圈的想法而不使用任何浮点计算?

Can anyone give me an idea for drawing a circle without making
use of any floating point computations?




当然。拿指南针,在铅笔架上插入铅笔,在所需的圆形中心放置尖的

结束,调整指南针适当的

半径,旋转它。

您对C语言的问题是什么?


-

"如果您想通过groups.google发布后续内容。 com,不要使用

破碎的回复链接在文章的底部。点击

" show options"在文章的顶部,然后点击

回复在文章标题的底部。 - Keith Thompson

更多详情请见:< http://cfaj.freeshell.org/google/>



Sure. Take compass, insert pencil in pencil holder, place pointy
end on desired circle center, adjust compass for appropriate
radius, and spin it.

What was your question about the C language?

--
"If you want to post a followup via groups.google.com, don''t use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
More details at: <http://cfaj.freeshell.org/google/>


< CH ******* @ yahoo.com>写道:
<ch*******@yahoo.com> wrote:
任何人都可以在不使用任何浮动点计算的情况下给出一个绘制
圆的想法吗?
Can anyone give me an idea for drawing a
circle without making use of any floating
point computations?




这不是C语言问题。

尝试询问comp.graphics.algorithms,

和/或搜索Bresenham?s算法 ;


Roberto Waltman


[请回复小组,]

[返回地址无效。 ]



This is not a C language question.
Try asking in "comp.graphics.algorithms",
and/or search for "Bresenham?s Algorithm"

Roberto Waltman

[ Please reply to the group, ]
[ return address is invalid. ]


这篇关于圆码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆