M_Rhino_Geometry_Curve_ProjectToBrep_1 - mcneel/rhinocommon-api-docs GitHub Wiki

Curve.ProjectToBrep Method (Curve, IEnumerable(Brep), Vector3d, Double)

Projects a Curve onto a collection of Breps along a given direction.

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

Syntax

C#

public static Curve[] ProjectToBrep(
	Curve curve,
	IEnumerable<Brep> breps,
	Vector3d direction,
	double tolerance
)

VB

Public Shared Function ProjectToBrep ( 
	curve As Curve,
	breps As IEnumerable(Of Brep),
	direction As Vector3d,
	tolerance As Double
) As Curve()

Parameters

 

curve
Type: Rhino.Geometry.Curve
Curve to project.
breps
Type: System.Collections.Generic.IEnumerable(Brep)
Breps to project onto.
direction
Type: Rhino.Geometry.Vector3d
Direction of projection.
tolerance
Type: System.Double
Tolerance to use for projection.

Return Value

Type: Curve[]
An array of projected curves or empty array if the projection set is empty.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Curve Class
ProjectToBrep Overload
Rhino.Geometry Namespace

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