Click or drag to resize
CurveProjectToBrep Method (Curve, IEnumerableBrep, Vector3d, Double)
Projects a Curve onto a collection of Breps along a given direction.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public static Curve[] ProjectToBrep(
	Curve curve,
	IEnumerable<Brep> breps,
	Vector3d direction,
	double tolerance
)

Parameters

curve
Type: Rhino.GeometryCurve
Curve 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.
See Also