Usage of ON_MeshXLine

Hi , I hope to try ON_MeshXLine for intersection between mesh and line,but I don’t understand how to using this class. Is there any example for it?

The example in Rhino5 https://github.com/mcneel/Rhino5Samples_CPP/blob/master/SampleCommands/cmdSampleLineMeshIntersect.cpp was not exist.

Thanks!

Hi @JoeLee,

The developer samples have been moved to here:

https://github.com/mcneel/rhino-developer-samples

Here is the specific example you are looking for:

https://github.com/mcneel/rhino-developer-samples/blob/6/cpp/SampleCommands/cmdSampleLineMeshIntersect.cpp

– Dale

1 Like

Hi Dale, Thank you!