M_Rhino_Geometry_Intersect_MeshClash_Search_1 - mcneel/rhinocommon-api-docs GitHub Wiki

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

Searches the locations where the distance from the first mesh to a mesh in the second set of meshes is less than the provided value.

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

Syntax

C#

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

VB

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

Parameters

 

meshA
Type: Rhino.Geometry.Mesh
The first mesh.
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** ⚠️