Open GoogleCodeExporter opened 8 years ago
Yeah if I remembered correctly the insurance that a point triangulation is
convex is not 100% :(. The lib was written as a polygon triangulator and this
was not considered.
Depending on your usage maybe you could start of with a rectangle polygon and
add your points as steinerpoints. Then you are ensured that the triangulation
is convex.
Original comment by thahlen@gmail.com
on 22 Apr 2015 at 2:13
Hi,
Good to know..
The usage is to write unit test in poly2tri to make sure if this library create
valid delaunay triangulation, before adding refinement.
I will try to dig with the function turnAdvancingFrontConvex..
Original comment by fnicola...@gmail.com
on 22 Apr 2015 at 2:45
Does this comment in the code have a relation with this issue ?
DTSweep.java
// TODO: implement ConvexHull for lower right and left boundary
Original comment by fnicola...@gmail.com
on 22 Apr 2015 at 3:22
Original issue reported on code.google.com by
fnicola...@gmail.com
on 22 Apr 2015 at 1:22Attachments: