Click or drag to resize

CurveProjectToBrep Method (IEnumerableCurve, IEnumerableBrep, Vector3d, Double, Int32, Int32)

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

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public static Curve[] ProjectToBrep(
	IEnumerable<Curve> curves,
	IEnumerable<Brep> breps,
	Vector3d direction,
	double tolerance,
	out int[] curveIndices,
	out int[] brepIndices
)

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.
curveIndices
Type: SystemInt32
Index of which curve in the input list was the source for a curve in the return array.
brepIndices
Type: SystemInt32
Index of which brep was used to generate a curve in the return array.

Return Value

Type: Curve
An array of projected curves. Array is empty if the projection set is empty.
See Also