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
)
Public Shared Function ProjectToBrep (
curves As IEnumerable(Of Curve),
breps As IEnumerable(Of Brep),
direction As Vector3d,
tolerance As Double,
<OutAttribute> ByRef curveIndices As Integer(),
<OutAttribute> ByRef brepIndices As Integer()
) As Curve()
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:
CurveAn array of projected curves. Array is empty if the projection set is empty.
See Also