roxygen / poly2tri

Automatically exported from code.google.com/p/poly2tri
Other
0 stars 0 forks source link

Triangulation is wrong. #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
{100,50,0},
{200,50,0},
{200,100,0},
{100,100,0},
{150,70,0},

What is the expected output? What do you see instead?
Expected: I should be getting 4 triangles.
Output: It is giving me back 3 triangles.

What version of the product are you using? On what operating system?
The latest code from the repository.

Please provide any additional information below.

Original issue reported on code.google.com by jeromefa...@gmail.com on 29 May 2011 at 9:09

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
What language. Are you Triangulationg a pointset or a polygon?

Original comment by thahlen@gmail.com on 29 May 2011 at 9:18

GoogleCodeExporter commented 9 years ago
I am using C++. Yes i am trying to triangulate a polygon. Well what i did is 
pass the first four points which represent the quad which is two triangles. 
Then i give it another point in the center which should split the quad into 4 
triangles instead of 2.

Original comment by jeromefa...@gmail.com on 29 May 2011 at 1:56

GoogleCodeExporter commented 9 years ago
I am sorry, it is a pointset.

Original comment by jeromefa...@gmail.com on 29 May 2011 at 2:00

GoogleCodeExporter commented 9 years ago

Original comment by mason.gr...@gmail.com on 16 Jun 2011 at 11:54