STATE_polygon_join
tries to join the two polygons to one polygon. if it is possible it deletes the two polygons create a new one and return the handle to the new one on failure returns NULL.