Implementation of Martínez-Ogayar-Jiménez-Rueda's A simple algorithm for Boolean operations on polygons optimized for iOS, based on http://www4.ujaen.es/~fmartin/bool_op.html . You can also get the original implementation in the polyclip/original branch.