Description:

Projects a Curve onto a Brep along a given direction.

Syntax:
public static Curve[] ProjectToBrep(
Curve curve,
Brep brep,
Vector3d direction,
Double tolerance
)
Parameters:
  • curve
  • Type: Curve
  • Curve to project.
  • brep
  • Type: Brep
  • Brep to project onto.
  • direction
  • Type: Vector3d
  • Direction of projection.
  • tolerance
  • Type: System.Double
  • Tolerance to use for projection.
Returns:
Type: Curve[]
An array of projected curves or empty array if the projection set is empty.
Available since:
5.0

Description:

Projects a Curve onto a collection of Breps along a given direction.

Syntax:
public static Curve[] ProjectToBrep(
Curve curve,
IEnumerable<Brep> breps,
Vector3d direction,
Double tolerance,
out Int32[] brepIndices
)
Parameters:
  • curve
  • Type: Curve
  • Curve to project.
  • breps
  • Type: IEnumerable<Brep>
  • Breps to project onto.
  • direction
  • Type: Vector3d
  • Direction of projection.
  • tolerance
  • Type: System.Double
  • Tolerance to use for projection.
  • brepIndices
  • Type: System.Int32[]
  • (out) Integers that identify for each resulting curve which Brep it was projected onto.
Returns:
Type: Curve[]
An array of projected curves or None if the projection set is empty.
Available since:
5.0

Description:

Projects a Curve onto a collection of Breps along a given direction.

Syntax:
public static Curve[] ProjectToBrep(
Curve curve,
IEnumerable<Brep> breps,
Vector3d direction,
Double tolerance
)
Parameters:
  • curve
  • Type: Curve
  • Curve to project.
  • breps
  • Type: IEnumerable<Brep>
  • Breps to project onto.
  • direction
  • Type: Vector3d
  • Direction of projection.
  • tolerance
  • Type: System.Double
  • Tolerance to use for projection.
Returns:
Type: Curve[]
An array of projected curves or empty array if the projection set is empty.
Available since:
5.0

Description:

Projects a collection of Curves onto a collection of Breps along a given direction.

Syntax:
public static Curve[] ProjectToBrep(
IEnumerable<Curve> curves,
IEnumerable<Brep> breps,
Vector3d direction,
Double tolerance,
out Int32[] curveIndices,
out Int32[] brepIndices
)
Parameters:
  • curves
  • Type: IEnumerable<Curve>
  • Curves to project.
  • breps
  • Type: IEnumerable<Brep>
  • Breps to project onto.
  • direction
  • Type: Vector3d
  • Direction of projection.
  • tolerance
  • Type: System.Double
  • Tolerance to use for projection.
  • curveIndices
  • Type: System.Int32[]
  • Index of which curve in the input list was the source for a curve in the return array.
  • brepIndices
  • Type: System.Int32[]
  • Index of which brep was used to generate a curve in the return array.
Returns:
Type: Curve[]
An array of projected curves. Array is empty if the projection set is empty.
Available since:
5.0

Description:

Projects a collection of Curves onto a collection of Breps along a given direction.

Syntax:
public static Curve[] ProjectToBrep(
IEnumerable<Curve> curves,
IEnumerable<Brep> breps,
Vector3d direction,
Double tolerance,
Boolean loose,
out Int32[] curveIndices,
out Int32[] brepIndices
)
Parameters:
  • curves
  • Type: IEnumerable<Curve>
  • Curves to project.
  • breps
  • Type: IEnumerable<Brep>
  • Breps to project onto.
  • direction
  • Type: Vector3d
  • Direction of projection.
  • tolerance
  • Type: System.Double
  • Tolerance to use for projection.
  • loose
  • Type: System.Boolean
  • If true, then project curve edit points onto Brep surfaces.
  • curveIndices
  • Type: System.Int32[]
  • Index of which curve in the input list was the source for a curve in the return array.
  • brepIndices
  • Type: System.Int32[]
  • Index of which brep was used to generate a curve in the return array.
Returns:
Type: Curve[]
An array of projected curves. Array is empty if the projection set is empty.
Available since:
8.17

Description:

Projects a collection of Curves onto a collection of Breps along a given direction.

Syntax:
public static Curve[] ProjectToBrep(
IEnumerable<Curve> curves,
IEnumerable<Brep> breps,
Vector3d direction,
Double tolerance
)
Parameters:
  • curves
  • Type: IEnumerable<Curve>
  • Curves to project.
  • breps
  • Type: IEnumerable<Brep>
  • Breps to project onto.
  • direction
  • Type: Vector3d
  • Direction of projection.
  • tolerance
  • Type: System.Double
  • Tolerance to use for projection.
Returns:
Type: Curve[]
An array of projected curves or empty array if the projection set is empty.
Available since:
5.0

/
/
/
ProjectToBrep

ProjectToBrep method

Class:  Rhino.Geometry.Curve

Nothing found