STATE_polygon_rotate_to_match_polygon
The given polygon is rotated so it will be parallel to "reference_polygon_handle" (the second argument); return OK or VR_ERROR.