grasshopper2 Rhinorhino3d.com
ComponentAuto-generatedIntersect
Shoot Ray
00000000-896a-40a8-9556-b1b1a8e2b14c
object preview
This page was generated from the component’s built-in descriptions. An in-depth article has not been written for it yet.

Shoot a semi-finite ray into a collection of shapes.

Input parameters:

  1. Ry → Line representing the start of the semi-finite ray.
  2. Sh → Shapes to hit.
  3. Of → Offset distance at the start of the ray.

Output parameters:

  1. Pt → First intersection point along the semi-infinite ray.
  2. Ix → Index of the shape which was hit.
  3. Tn → Tangent at intersection. Either a vector or a plane, depending on the kind of shape that was hit.
  4. Pp → Perpendicular at intersection. Either a vector or a plane, depending on the kind of shape that was hit.