Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Triangulation is wrong. #25

Closed
GoogleCodeExporter opened this issue Jun 1, 2015 · 5 comments
Closed

Triangulation is wrong. #25

GoogleCodeExporter opened this issue Jun 1, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

What language. Are you Triangulationg a pointset or a polygon?

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

@GoogleCodeExporter
Copy link
Author

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
Copy link
Author

I am sorry, it is a pointset.

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

@GoogleCodeExporter
Copy link
Author

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

  • Changed state: Invalid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant