Click or drag to resize

IntersectionMeshLineSorted Method

Finds the intersections of a mesh and a line. Points are sorted along the line.

Namespace:  Rhino.Geometry.Intersect
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
public static Point3d[] MeshLineSorted(
	Mesh mesh,
	Line line,
	out int[] faceIds


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

Return Value

Type: Point3d
An array of points: one for each face that was passed by the faceIds out reference. Empty if no items are found.
See Also