M_Rhino_Geometry_Curve_ProjectToMesh - mcneel/rhinocommon-api-docs GitHub Wiki

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

Projects a curve to a mesh 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,
	Mesh mesh,
	Vector3d direction,
	double tolerance
)

VB

Public Shared Function ProjectToMesh ( 
	curve As Curve,
	mesh As Mesh,
	direction As Vector3d,
	tolerance As Double
) As Curve()

Parameters

 

curve
Type: Rhino.Geometry.Curve
A curve.
mesh
Type: Rhino.Geometry.Mesh
A mesh.
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** ⚠️