How to check if a point is inside a trim?

Is it possible to find out if a point is in a trim using Rhino3dm? It seems like I can get all the information around the trim, but not check a uv value if it is inside a trim or not.

We can evaluate a surface at a given parameter, but trimmed surfaces simply get untrimmed first. So it would be nice to be able to see if a point is outside a trim, so we can remove the point.

Is it only possible using Rhinocommon?

Hi @seltzdesign,

The BrepFace.IsPointOnFace is available in RhinoCommon only. The method is not available to Rhino3dm. Of course, the function is available via Rhino.Compute.

– Dale