What is BrepFace.ClosestEdge(u, v) used for?

And can I get an Edge object out of it?

Hey @Asterisk,

This isn’t a method I am aware of. Where in the documentation do you see it?

https://developer.rhino3d.com/api/RhinoCommon/html/R_Project_RhinoCommon.htm

– Dale

https://developer.rhino3d.com/api/RhinoCommon/html/T_Rhino_Geometry_BrepFace.htm

I know I can just cycle thru brep edges to find the closest edge to a known/pick point. I thought maybe there was a method to just outright find it.

Your best bet is to just iterate through edges and find the one closest to your test point. The method you reference doesn’t worked with trimmed faces.

– Dale