| 14 | namespace LNLibSharp |
| 15 | { |
| 16 | public static partial class LNLibIntersection |
| 17 | { |
| 18 | [DllImport( |
| 19 | LNLIB_CAPI_DLL, |
| 20 | EntryPoint = "LNLIB_INTERSECT_compute_rays", |
| 21 | CallingConvention = CallingConvention.Cdecl)] |
| 22 | public static extern CurveCurveIntersectionType ComputeRays( |
| 23 | XYZ point0, XYZ vector0, |
| 24 | XYZ point1, XYZ vector1, |
| 25 | out double param0, |
| 26 | out double param1, |
| 27 | out XYZ intersectPoint); |
| 28 | |
| 29 | [DllImport( |
| 30 | LNLIB_CAPI_DLL, |
| 31 | EntryPoint = "LNLIB_INTERSECT_compute_line_and_plane", |
| 32 | CallingConvention = CallingConvention.Cdecl)] |
| 33 | public static extern LinePlaneIntersectionType ComputeLineAndPlane( |
| 34 | XYZ normal, |
| 35 | XYZ pointOnPlane, |
| 36 | XYZ pointOnLine, |
| 37 | XYZ lineDirection, |
| 38 | out XYZ intersectPoint); |
| 39 | } |
| 40 | } |
nothing calls this directly
no outgoing calls
no test coverage detected