I am working on a script in C++ to project some points on a BrepFace. Right now, I am using the GetClosestPoint method of the ON_BrepFace class. However, this method is giving me wrong points on the surface (compared to the result obtained using the command Project directly on Rhino which is correct). Do you know why this difference could occur and how to overcome this problem?
Thanks in advance,
ps: Here are some images explaining the problem