M_Rhino_Geometry_Intersect_Intersection_MeshLine - mcneel/rhinocommon-api-docs GitHub Wiki
Finds the intersection of a mesh and a line
Namespace: Rhino.Geometry.Intersect
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static Point3d[] MeshLine(
Mesh mesh,
Line line,
out int[] faceIds
)
VB
Public Shared Function MeshLine (
mesh As Mesh,
line As Line,
<OutAttribute> ByRef faceIds As Integer()
) As Point3d()
- mesh
- Type: Rhino.Geometry.Mesh
A mesh to intersect - line
- Type: Rhino.Geometry.Line
The line to intersect with the mesh - faceIds
- Type: System.Int32[]
The indices of the intersecting faces. This out reference is assigned during the call.
Type: Point3d[]
An array of points: one for each face that was passed by the faceIds out reference.
Supported in: 6.0.16224.21491, 5D58w