作者: Patrick-Gilles Maillot
关键词:
摘要: This paper presents a new 2D polygon clipping method, based on an extension to the Sutherland-Cohen line method. After discussing three basic algorithms, different approach is proposed, explaining principles of algorithm and presenting it step by step.An example implementation given along with some results. A comparison between proposed Liang Barsky algorithm, Sutherland-Hodgman also given, showing performances up eight times speed algorithm. The here can use floating point or integer operations; this be useful for fast simple implementations.