Triangle lib seems to crash when two polygons share the same vertex, e.g.: { { 0, 0 }, { 10, 0 }, { 10, 10 }, { 0, 10 } } { { 10, 10 }, { 15, 10 }, { 15, 15 }, { 10, 15 } } I used the following params: pzB However, .NET port is working in this case.