Click or drag to resize

MeshSplitWithProjectedPolylines Method (IEnumerablePolylineCurve, Double, TextLog, CancellationToken, IProgressDouble)

Splits a mesh by adding edges in correspondence with input polylines, and divides the mesh at partitioned areas. Polyline segments that are measured not to be on the mesh will be ignored.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 7.0
Syntax
public Mesh[] SplitWithProjectedPolylines(
	IEnumerable<PolylineCurve> curves,
	double tolerance,
	TextLog textLog,
	CancellationToken cancel,
	IProgress<double> progress
)

Parameters

curves
Type: System.Collections.GenericIEnumerablePolylineCurve
An array, a list or any enumerable of polyline curves.
tolerance
Type: SystemDouble
A tolerance value.
textLog
Type: Rhino.FileIOTextLog
A text log, or null.
cancel
Type: System.ThreadingCancellationToken
A cancellation token to stop the computation at a given point.
progress
Type: SystemIProgressDouble
A progress reporter to inform the user about progress. The reported value is indicative.

Return Value

Type: Mesh
An array of meshes, or null if no change would happen.
See Also