Improved EarClipping algorithm concerning polygons with vertices having the same x or y component.