Click or drag to resize

MeshClashSearch Method (IEnumerableMesh, IEnumerableMesh, 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)
Since: 5.0
Syntax
public static MeshClash[] Search(
	IEnumerable<Mesh> setA,
	IEnumerable<Mesh> setB,
	double distance,
	int maxEventCount
)

Parameters

setA
Type: System.Collections.GenericIEnumerableMesh
The first set of meshes.
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.
See Also