Make from polygon the clockwise polygon -
i know how determine if polygon clockwise(compute area , compare 0. if area > 0 polygon clockwise). if polygon isn't clockwise how convert clockwise polygon?
just inverse order of vertices. if pave polygon vertices v1, v2, ..., vn , not clockwise, polygon vn, ..., v2, v1 clockwise.
polygon
No comments:
Post a Comment