Click or drag to resize

MeshCreateBooleanDifference Method (IEnumerableMesh, IEnumerableMesh, MeshBooleanOptions, Result)

Computes the solid difference of two sets of Meshes.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.0
Syntax
public static Mesh[] CreateBooleanDifference(
	IEnumerable<Mesh> firstSet,
	IEnumerable<Mesh> secondSet,
	MeshBooleanOptions options,
	out Result result
)

Parameters

firstSet
Type: System.Collections.GenericIEnumerableMesh
First set of Meshes (the set to subtract from).
secondSet
Type: System.Collections.GenericIEnumerableMesh
Second set of Meshes (the set to subtract).
options
Type: Rhino.GeometryMeshBooleanOptions
An option instance. Should have a valid Tolerance set.
result
Type: Rhino.CommandsResult
Indicates if the function succeeded, was cancelled, did nothing, or failed.

Return Value

Type: Mesh
An array of Mesh results or null on failure.
See Also