drufat / triangle

Python bindings to the triangle library
GNU Lesser General Public License v3.0
236 stars 54 forks source link

Error: Ran out of precision at #78

Open bigsu opened 7 months ago

bigsu commented 7 months ago

What's this? triangle.triangulate({"vertices": all_vertices, "segments": all_segments}, "pD") I attempted to split a segment to a smaller size than can be accommodated by the finite precision of floating point arithmetic. Try increasing the area criterion and/or reducing the minimum allowable angle so that tiny triangles are not created.

bigsu commented 5 months ago

btw,program crash may be caused by duplicate coordinates