grasshopper2 Rhinorhino3d.com
ComponentAuto-generatedIntersect
Shoot Ray
00000000-896a-40a8-9556-b1b1a8e2b14c
object preview Ray inputline · item · requiredLine representing the start of the semi-finite ray.Shapes inputlist · requiredShapes to hit.Offset inputnumber · item · requiredOffset distance at the start of the ray.Point outputpoint3 · itemFirst intersection point along the semi-infinite ray.Index outputinteger · itemIndex of the shape which was hit.Tangent outputitemTangent at intersection. Either a vector or a plane, depending on the kind of shape that was hit.Perpendicular outputitemPerpendicular at intersection. Either a vector or a plane, depending on the kind of shape that was hit.

⚠️ This content is auto-generated.

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.