IsPointOnFace from C++

In a C++ library using the rhino SDK and Open Nurbs I’m trying to perform a check to see if a point returned from ON_Rayshooter_ShootRay is on a trimmed brep or not. I’ve seen a suggestion to use BrepFace.IsPointOnFace . in a previous post, however I’m having difficulty finding the method in C++.

Is there another way to perform this check, or am I missing something? Any help is appreciated.

Hi @db368,

Use RhinoIsPointOnFace(). See rhinoSdkUtilities.h for details.

– Dale

1 Like

Dale just beat me to it. You can look up docs here

https://developer.rhino3d.com/api/cpp/group___rhino.html#ga19f5caddd983e6b0c6e53534e7c9d1fa

1 Like

Should I remove my post? lol

– D

1 Like

Should I remove my post?

Certainly not, it’s just that I found the link and was about to type up the answer and then yours appeared :joy:

1 Like