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

CurveProjectToMesh Method (Curve, Mesh, Vector3d, Double)

Projects a curve to a mesh using a direction and tolerance.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static Curve[] ProjectToMesh(
	Curve curve,
	Mesh mesh,
	Vector3d direction,
	double tolerance
)
Public Shared Function ProjectToMesh ( 
	curve As Curve,
	mesh As Mesh,
	direction As Vector3d,
	tolerance As Double
) As Curve()

Parameters

curve
Type: Rhino.GeometryCurve
A curve.
mesh
Type: Rhino.GeometryMesh
A mesh.
direction
Type: Rhino.GeometryVector3d
A direction vector.
tolerance
Type: SystemDouble
A tolerance value.

Return Value

Type: Curve
A curve array.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also