RhinoCommon API
MeshSplit Method (IEnumerableMesh, Double, Boolean, TextLog, CancellationToken, IProgressDouble) |
Split a mesh with a collection of meshes.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 7.0

public Mesh[] Split( IEnumerable<Mesh> meshes, double tolerance, bool splitAtCoplanar, TextLog textLog, CancellationToken cancel, IProgress<double> progress )
Public Function Split ( meshes As IEnumerable(Of Mesh), tolerance As Double, splitAtCoplanar As Boolean, textLog As TextLog, cancel As CancellationToken, progress As IProgress(Of Double) ) As Mesh()
Parameters
- meshes
- Type: System.Collections.GenericIEnumerableMesh
Meshes to split with. - tolerance
- Type: SystemDouble
A value for intersection tolerance.WARNING! Correct values are typically in the (10e-8 - 10e-4) range.
An option is to use the document tolerance diminished by a few orders or magnitude.
- splitAtCoplanar
- Type: SystemBoolean
If false, coplanar areas will not be separated. - textLog
- Type: Rhino.FileIOTextLog
A text log to write onto. - cancel
- Type: System.ThreadingCancellationToken
A cancellation token. - progress
- Type: SystemIProgressDouble
A progress reporter item. This can be null.
Return Value
Type: MeshAn array of mesh parts representing the split result, or null: when no mesh intersected, or if a cancel stopped the computation.
