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
)
Public Shared Function CreateBooleanDifference (
firstSet As IEnumerable(Of Mesh),
secondSet As IEnumerable(Of Mesh),
options As MeshBooleanOptions,
<OutAttribute> ByRef result As Result
) As Mesh()
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:
MeshAn array of Mesh results or null on failure.
See Also