I*******e 发帖数: 1879 | 1 ☆─────────────────────────────────────☆
qlnus (dd) 于 (Sun Mar 8 23:44:14 2009) 提到:
1. 如何知道我用鼠标在屏幕上画的是圆(当然不是非常规则的那种)
2. 如何进一步判断出是顺时针画的,还是逆时针画的
请教各位高人,从那里能找到这样的算法?
多谢!
☆─────────────────────────────────────☆
acectl (磨) 于 (Mon Mar 9 09:42:43 2009) 提到:
first give a mathematical definition what is called a circle. Not just x2+
y2=r2, but how to define it to be different than other shapes.
Then, you can think about algorithm.
☆─────────────────────────────────────☆
goodbug (好虫) 于 (Mo |
|