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

MeshClashSearch Method (Mesh, IEnumerableMesh, 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)
Syntax
public static MeshClash[] Search(
	Mesh meshA,
	IEnumerable<Mesh> setB,
	double distance,
	int maxEventCount
)
Public Shared Function Search ( 
	meshA As Mesh,
	setB As IEnumerable(Of Mesh),
	distance As Double,
	maxEventCount As Integer
) As MeshClash()

Parameters

meshA
Type: Rhino.GeometryMesh
The first mesh.
setB
Type: System.Collections.GenericIEnumerableMesh
The second set of meshes.
distance
Type: SystemDouble
The largest distance at which there is a clash. All values smaller than this cause a clash as well.
maxEventCount
Type: SystemInt32
The maximum number of clash objects.

Return Value

Type: MeshClash
An array of clash objects.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also