Skip to content

M_Rhino_Geometry_Intersect_Intersection_MeshPolyline

Will Pearson edited this page Aug 12, 2016 · 2 revisions

Intersection.MeshPolyline Method

Finds the intersection of a mesh and a polyline.

Namespace: Rhino.Geometry.Intersect
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public static Point3d[] MeshPolyline(
	Mesh mesh,
	PolylineCurve curve,
	out int[] faceIds
)

VB

Public Shared Function MeshPolyline ( 
	mesh As Mesh,
	curve As PolylineCurve,
	<OutAttribute> ByRef faceIds As Integer()
) As Point3d()

Parameters

 

mesh
Type: Rhino.Geometry.Mesh
A mesh to intersect.
curve
Type: Rhino.Geometry.PolylineCurve
A polyline curves to intersect.
faceIds
Type: System.Int32[]
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.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Intersection Class
Rhino.Geometry.Intersect Namespace

Clone this wiki locally