M_Rhino_Geometry_Curve_ProjectToBrep_1 - mcneel/rhinocommon-api-docs GitHub Wiki
Projects a Curve onto a collection of Breps along a given direction.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static Curve[] ProjectToBrep(
Curve curve,
IEnumerable<Brep> breps,
Vector3d direction,
double tolerance
)
VB
Public Shared Function ProjectToBrep (
curve As Curve,
breps As IEnumerable(Of Brep),
direction As Vector3d,
tolerance As Double
) As Curve()
- curve
- Type: Rhino.Geometry.Curve
Curve to project. - breps
- Type: System.Collections.Generic.IEnumerable(Brep)
Breps to project onto. - direction
- Type: Rhino.Geometry.Vector3d
Direction of projection. - tolerance
- Type: System.Double
Tolerance to use for projection.
Type: Curve[]
An array of projected curves or empty array if the projection set is empty.
Supported in: 6.0.16224.21491, 5D58w