M_Rhino_Geometry_Intersect_Intersection_MeshRay - mcneel/rhinocommon-api-docs GitHub Wiki
Finds the first intersection of a ray with a mesh.
Namespace: Rhino.Geometry.Intersect
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static double MeshRay(
Mesh mesh,
Ray3d ray
)
VB
Public Shared Function MeshRay (
mesh As Mesh,
ray As Ray3d
) As Double
- mesh
- Type: Rhino.Geometry.Mesh
A mesh to intersect. - ray
- Type: Rhino.Geometry.Ray3d
A ray to be casted.
Type: Double
>= 0.0 parameter along ray if successful. < 0.0 if no intersection found.
Supported in: 6.0.16224.21491, 5D58w
Intersection Class
MeshRay Overload
Rhino.Geometry.Intersect Namespace