Request for more examples using iterators, handles, and circulators for faces, edges, and vertices

23 views
Skip to first unread message

Willie Maddox

unread,
May 20, 2013, 6:57:42 PM5/20/13
to cgal-bindi...@googlegroups.com
Hello,

I would enjoy seeing more examples for CGAL-bindings for python. Specifically, different ways to utilize the iterators, handles, and circulators for faces, edges, and vertices.

It would also be helpful if unused imports were not imported in the examples, as this (for me at least) can cause confusion for those of us trying to learn CGAL through python.

For example, the "triangulation_prog1.py" example imports the Vertex_circulator and Vertex_handle for Triangulation_2. The Vertex_circulator is never used. The Vertex_handle is used but does not seem to do anything. Commenting out the line, "iter=Triangulation_2_Vertex_handle()" does not change the resulting output. 

From what I have experienced so far, the CGAL algorithms outperform every other computational package I have run across. Very fast and efficient code. 

Cheers,

-Will Maddox
Reply all
Reply to author
Forward
0 new messages