Project point to Brep

Hello! I would like to project a point into a Brep using C++ and Open Nurbes functions. At first I tried to use GetClosestPoint, however as the points are above the surface none point was returned. Any ideas on how to make it work?


Andres Uribe