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

CurveProjectToBrep Method (IEnumerableCurve, IEnumerableBrep, Vector3d, Double)

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

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static Curve[] ProjectToBrep(
	IEnumerable<Curve> curves,
	IEnumerable<Brep> breps,
	Vector3d direction,
	double tolerance
)
Public Shared Function ProjectToBrep ( 
	curves As IEnumerable(Of Curve),
	breps As IEnumerable(Of Brep),
	direction As Vector3d,
	tolerance As Double
) As Curve()

Parameters

curves
Type: System.Collections.GenericIEnumerableCurve
Curves to project.
breps
Type: System.Collections.GenericIEnumerableBrep
Breps to project onto.
direction
Type: Rhino.GeometryVector3d
Direction of projection.
tolerance
Type: SystemDouble
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

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also