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

CurveProjectToBrep Method (Curve, Brep, Vector3d, Double)

Projects a Curve onto a Brep along a given direction.

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

Parameters

curve
Type: Rhino.GeometryCurve
Curve to project.
brep
Type: Rhino.GeometryBrep
Brep 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.14
See Also