Click or drag to resize

MeshSplit Method (IEnumerableMesh, MeshSplitOptions)

Split a mesh with a collection of meshes.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public Mesh[] Split(
	IEnumerable<Mesh> meshes,
	MeshSplitOptions options
)

Parameters

meshes
Type: System.Collections.GenericIEnumerableMesh
Meshes to split with.
options
Type: Rhino.GeometryMeshSplitOptions
The split option instance, or null for the defaults.

Because MeshBooleanOptions derives from MeshSplitOptions, an instance used for mesh booleans can be passed here directly.

Return Value

Type: Mesh
An array of mesh parts representing the split result, or null: when no mesh intersected, or if a cancel stopped the computation.
See Also