YetAnotherCoupler  2.4.1
Polygon clipping in YAC
Author
Moritz Hanke (Deutsches Klimarechenzentrum Hamburg)

The actual polygon clipping in YAC is done by the routine point_list_clipping. The algorithm being used is based on the Sutherland-Hodgman algorithm. It supports polygon that contain edges, which can be on latitude, longitude, or great circles (yac_edge_type).

The following is a list of all special cases considered by the algorithm: