The example in Listing 4 creates 10 random quadrilaterals where the points must be in clockwise or counter-clockwise order.
清单4内的示例创建了10个随机的四边形其中这些点必须是顺时针或逆时针顺序。
A figure is considered clockwise or counterclockwise based on the order in which the segments of the figure are drawn.
基于所绘制的图形的各片断的顺序判断一个图形是顺时针还是逆时针的。
应用推荐