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
)
Public Function SplitWithProjectedPolylines (
curves As IEnumerable(Of PolylineCurve),
tolerance As Double,
textLog As TextLog,
cancel As CancellationToken,
progress As IProgress(Of Double)
) As Mesh()
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:
MeshAn array of meshes, or null if no change would happen.
See Also