-
Notifications
You must be signed in to change notification settings - Fork 142
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
Confusing first example in the docs #83
Comments
Hi. I don't understand how to make it works.
And got output in log something:
No coords at all. |
@shaman4d The output is not coordinates. The input is coordinates. The output is vertex ids or triangle ids. These ids are integers. The guide page shows sample code of how to use the ids to construct edges or triangles. (Also, I think your question is unrelated to this issue which is about the numbers used for the sample points) |
Hi. Thank you for your answer. I've got the idea! |
That's very minor, yet, may discourage users who are new to this excellent library and wants to evaluate it.
What I did with the first example:
was to make it runnable by changing:
and to my surprise this yielded no triangles.
Having a second look I found that all the points are on the same line so, indeed, no triangulation can be done.
Changing example shouldn't be hard but may save some time for new users, the time I have just wasted...
Thanks you for exceptional library, much appreciated!
The text was updated successfully, but these errors were encountered: