M_Rhino_Geometry_Intersect_MeshClash_Search_2 - mcneel/rhinocommon-api-docs GitHub Wiki

MeshClash.Search Method (IEnumerable(Mesh), IEnumerable(Mesh), Double, Int32)

Searches for locations where the distance from a mesh in one set of meshes is less than distance to another mesh in a second set of meshes.

Namespace: Rhino.Geometry.Intersect
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public static MeshClash[] Search(
	IEnumerable<Mesh> setA,
	IEnumerable<Mesh> setB,
	double distance,
	int maxEventCount
)

VB

Public Shared Function Search ( 
	setA As IEnumerable(Of Mesh),
	setB As IEnumerable(Of Mesh),
	distance As Double,
	maxEventCount As Integer
) As MeshClash()

Parameters

 

setA
Type: System.Collections.Generic.IEnumerable(Mesh)
The first set of meshes.
setB
Type: System.Collections.Generic.IEnumerable(Mesh)
The second set of meshes.
distance
Type: System.Double
The largest distance at which there is a clash. All values smaller than this cause a clash as well.
maxEventCount
Type: System.Int32
The maximum number of clash objects.

Return Value

Type: MeshClash[]
An array of clash objects.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

MeshClash Class
Search Overload
Rhino.Geometry.Intersect Namespace

⚠️ **GitHub.com Fallback** ⚠️