Skip to content

M_Rhino_Geometry_Curve_ProjectToBrep

Will Pearson edited this page Aug 12, 2016 · 2 revisions

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

Projects a Curve onto a Brep along a given direction.

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

Syntax

C#

public static Curve[] ProjectToBrep(
	Curve curve,
	Brep brep,
	Vector3d direction,
	double tolerance
)

VB

Public Shared Function ProjectToBrep ( 
	curve As Curve,
	brep As Brep,
	direction As Vector3d,
	tolerance As Double
) As Curve()

Parameters

 

curve
Type: Rhino.Geometry.Curve
Curve to project.
brep
Type: Rhino.Geometry.Brep
Brep 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

Clone this wiki locally