Calculates the intersection of an infinite line and an infinite plane.
Rhino.LinePlaneIntersection (arrLine, arrPlane)
arrLine |
Required. Array. Two 3-D points identifying the starting and ending points of the line to intersect. |
arrPoint |
Required. Array. The plane to intersect. |
Array |
The 3-D point of intersection is successful. |
Null |
If not successful, or on error. |
Dim arrPlane, arrLine(1)
arrPlane = Rhino.WorldXYPlane
arrLine(0) = Array(2, 11, 13)
arrLine(1) = Array(20, 4, -10)
arrPoint = Rhino.LinePlaneIntersection(arrLine, arrPlane)
If IsArray(arrPoint) Then Rhino.AddPoint(arrPoint)