M_Rhino_Geometry_Curve_ProjectToMesh_1 - mcneel/rhinocommon-api-docs GitHub Wiki

Curve.ProjectToMesh Method (Curve, IEnumerable(Mesh), Vector3d, Double)

Projects a curve to a set of meshes using a direction and tolerance.

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

Syntax

C#

public static Curve[] ProjectToMesh(
	Curve curve,
	IEnumerable<Mesh> meshes,
	Vector3d direction,
	double tolerance
)

VB

Public Shared Function ProjectToMesh ( 
	curve As Curve,
	meshes As IEnumerable(Of Mesh),
	direction As Vector3d,
	tolerance As Double
) As Curve()

Parameters

 

curve
Type: Rhino.Geometry.Curve
A curve.
meshes
Type: System.Collections.Generic.IEnumerable(Mesh)
A list, an array or any enumerable of meshes.
direction
Type: Rhino.Geometry.Vector3d
A direction vector.
tolerance
Type: System.Double
A tolerance value.

Return Value

Type: Curve[]
A curve array.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Curve Class
ProjectToMesh Overload
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️