Implement the Sutherland-Hodgman algorithm for clipping a general polygon against a rectangular bounding box