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

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