-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Tutorial: 2D Triangulations #8739
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
base: main
Are you sure you want to change the base?
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
|
The documentation is built. It will be available, after a few minutes, here: https://cgal.github.io/8739/v0/Manual/index.html |
|
@afabri what is the status? |
Triangulation_2/examples/Triangulation_2/Tutorial_Triangulation_2.cpp
Outdated
Show resolved
Hide resolved
| of the points in finite triangular faces. | ||
| Additionally, the triangulation generates infinite faces, which are incident to the edges of the convex hull | ||
| and which have as third vertex a single infinite vertex. When we draw the triangulation | ||
| we only draw finite vertices and faces. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't you mention that the points are not inserted in the order of the range?
| A handle is a pointer to a vertex object, and no surprise when we write | ||
| `v->point()` into `std::cout` we will see `1 1` on the console. | ||
|
|
||
| Just like the standard containers, the triangulation provides iterators to enumerate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
simply mention ranges?
|
/force-build:v0 |
|
There was an error while building the doc: |
|
/force-build:v0 |
|
The documentation is built. It will be available, after a few minutes, here: https://cgal.github.io/8739/v0/Manual/index.html |
|
/force-build:v0 |
|
The documentation is built. It will be available, after a few minutes, here: https://cgal.github.io/8739/v0/Manual/index.html |
|
@albert-github can you help us to understand what is necessary for doxygen that it adds a section Examples in a reference manual page. |
What do you mean? |
|
/force-build:v0 |
|
The documentation is built. It will be available, after a few minutes, here: https://cgal.github.io/8739/v0/Manual/index.html |
|
I don't get the question either which example where should it be etc. |
| with Delaunay triangulation with and without constraints. | ||
|
|
||
| \section Tutorial_Delaunay_2 Defining the Type of %Triangulation | ||
| <H1> Tutorial_Delaunay_2 Defining the Type of Triangulation</h1> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The section numbers are spevial to CGAL, the way it is re-implemented here looses the possibility to refer to a section and the possibility of the TOC .
6044277 to
d322962
Compare
|
The question was "what does it take for the list of examples using this function to show up at the bottom of the documentation of a class or a function". For example : CGAL::Polygon_mesh_processing::repair_polygon_soup(). --> used in the example repair_polygon_soup_example.cpp, which is in PMP/examples.txt but there is nothing at the bottom of the function's documentation, whereas we'd expect references to examples at the bottom of the function documentation:
But in fact it seems related to the fact that there is no link in the doc output:
and that seems to be related to the fact that we use a namespace alias: namespace PMP = CGAL::Polygon_mesh_processing;If I change the example and put "CGAL::Polygon_mesh_processing::repair_polygon_soup", then the link shows up:
and I get the example showing in the function doc:
So the questions are:
Thanks! |




Summary of Changes
Add a tutorial for getting started with 2D Triangulations in an easier way than the User Manual.
This could as well become a section in the User Manual.
Link to the html page.