ClipPolydata with points that are all around the polydata

Hello, Mohammad.

I didn’t notice the lack of C++'s semi-colons… Well, CGAL is heavily template-based. C++ templates are, well, templates to data types, not data types. Think C++ templates as recipes for the pre-processor to write code of real data types. Templates are great to minimize code writing. For example: instead of writing ListOfDouble, ListOfInteger, ListOfString, etc. classes, you just declare something like List<Type>. Then, when you write something like List<String>, the pre-processor writes a real ListOfString C++ class for you. Great, isn’t it? Well, that spells doom when it comes to Python bindings, which normally cannot make C++ classes on the fly. You may have guessed by now that putting up a working CGAL front-end for Python 3 will be quite an odyssey. It’s possible, but I think it won’t be worth the trouble. If you still want to delve into the world of Python-C++ bindings, here some resources I found after a bit of googling:

geometry - What happened to the python bindings for CGAL? - Stack Overflow (a bit of history of the complicated Python-CGAL binding with some alternative solutions)
http://cgal-python.gforge.inria.fr/CGAL_PYTHON_1.pdf ( nice slideshow teaching on how to use CGAL with Python 2).
http://cgal-python.gforge.inria.fr/ (the home page of a Python-CGAL binding. Rather old, as you may guess from the early 2000’s design of the page)

But I think you’re better off trying these: Geodesic Paths — PyVista 0.29.0 documentation and Geodesic Distance Computation on 3-D Meshes . I don’t know them by experience. I’ve just found them by googling around.

cheers,

Paulo