Search code examples
c++geometrycomputational-geometrycgal

Find closest point from point outside polygon mesh to polygon mesh


I have a polygon mesh defining a valid inner region and a point outside of this polygon mesh. From this point i want to find the closest point on the surface on my polygon mesh.

I have no background in computational geometry and don't know the buzzwords. How can i achieve this using cgal or any other library in C++?


Solution

  • You might have a look at the Location Functions in CGAL.