 I don't think there should be an empty triangle。 The data of the test polygon is (0,0) (4,0) (4,-4) (8,-4) (8,-10) (-4,-10) (-4,-4) (0,-4)