IntersectionRayShoot Method (Ray3d, IEnumerableGeometryBase, Int32)
Computes point intersections that occur when shooting a ray to a collection of surfaces and Breps.
RhinoCommon (in RhinoCommon.dll)
public static Point3d RayShoot(
Public Shared Function RayShoot (
ray As Ray3d,
geometry As IEnumerable(Of GeometryBase),
maxReflections As Integer
) As Point3d()
- Type: Rhino.GeometryRay3d
A ray used in intersection.
- Type: System.Collections.GenericIEnumerableGeometryBase
Only Surface and Brep objects are currently supported. Trims are ignored on Breps.
- Type: SystemInt32
The maximum number of reflections. This value should be any value between 1 and 1000, inclusive.
An array of points: one for each surface or Brep face that was hit, or an empty array on failure.
Exceptions See Also