【发布时间】:2012-11-20 09:19:02
【问题描述】:
我的老师说 Cohen Sutherland 算法http://en.wikipedia.org/wiki/Cohen%E2%80%93Sutherland_algorithm 不能用于凹多边形。我问他为什么,他不能给我答案(我不知道为什么 hew 在这里工作)。
所以我问你:为什么 Cohen-Sutherland 算法不适用于凹多边形?会出什么问题?
【问题讨论】:
-
你的意思是Sutherland–Hodgman algorithm?看起来“科恩·萨瑟兰”是关于线的,而不是多边形。
标签: algorithm graphics concave