Click or drag to resize
IntersectionMeshLine Method
Rhino 5 for Windows
Finds the intersection of a mesh and a line

Namespace: Rhino.Geometry.Intersect
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.30000.17 (5.13.60913.21340)
Syntax
public static Point3d[] MeshLine(
	Mesh mesh,
	Line line,
	out int[] faceIds
)

Parameters

mesh
Type: Rhino.GeometryMesh
A mesh to intersect
line
Type: Rhino.GeometryLine
The line to intersect with the mesh
faceIds
Type: SystemInt32
The indices of the intersecting faces. This out reference is assigned during the call.

Return Value

Type: Point3d
An array of points: one for each face that was passed by the faceIds out reference.
See Also